Changeset 581 for trunk/kernel/libk/remote_barrier.h
- Timestamp:
- Oct 10, 2018, 3:11:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_barrier.h
r563 r581 33 33 * This file defines a POSIX compliant barrier. 34 34 * 35 * It is used by multi-threaded iuser applications to synchronise threads running in35 * It is used by multi-threaded user applications to synchronise threads running in 36 36 * different clusters, as all access functions uses hal_remote_l32() / hal_remote_s32() 37 37 * remote access primitives. … … 61 61 typedef struct remote_barrier_s 62 62 { 63 remote_busylock_t lock; /*! lock protecting xlist of arrived threads*/63 remote_busylock_t lock; /*! lock protecting list of waiting threads */ 64 64 intptr_t ident; /*! virtual address in user space == identifier */ 65 65 uint32_t current; /*! number of arrived threads */ … … 67 67 uint32_t nb_threads; /*! number of expected threads */ 68 68 xlist_entry_t list; /*! member of list of barriers in same process */ 69 xlist_entry_t root; /*! root of list of arrivedthreads */69 xlist_entry_t root; /*! root of list of waiting threads */ 70 70 } 71 71 remote_barrier_t;
Note: See TracChangeset
for help on using the changeset viewer.