- add implement job related objs based on librtti
- add lock()/unlock() to job object
This commit is contained in:
parent
f582742e77
commit
532c68e6e1
13 changed files with 1136 additions and 12 deletions
|
|
@ -67,6 +67,10 @@
|
|||
}
|
||||
#endif
|
||||
|
||||
#define EQUAL_STRING(s1, s2) \
|
||||
(((s1) == (s2)) \
|
||||
|| (((s1) != NULL) && ((s2) != NULL) && (strcmp((s1), (s2)) == 0)))
|
||||
|
||||
#define N_EL_ARRAY(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
#define PTR_STEP(p, delta) ((void*)(((char*)p) + (delta)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue