HarfBuzz text shaping engine
http://harfbuzz.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
274 B
7 lines
274 B
7 years ago
|
void memory_barrier (void) { __sync_synchronize (); }
|
||
|
int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
|
||
|
int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
|
||
|
void mutex_unlock (int *m) { __sync_lock_release (m); }
|
||
|
|
||
|
int main(void) { return 0;}
|