Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _SYNCHRONIZER_
- #define _SYNCHRONIZER_
- typedef struct Sync_t* Sync_ptr;
- Sync_ptr sync_init(Sync_ptr s, int n);
- void synchronize(Sync_ptr s, int id);
- void notify(Sync_ptr s);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement