Changeset 05d02c6 for libcfa/src/concurrency/clib/cfathread.cfa
- Timestamp:
- Mar 15, 2021, 2:10:34 PM (2 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- e5e5af9
- Parents:
- ea837e94 (diff), 36fbaeca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
rea837e94 r05d02c6 105 105 //-------------------- 106 106 // Thread 107 int cfathread_create( cfathread_t * handle, c fathread_attr_t * attr, void *(*main)( void * ), void * arg ) __attribute__((nonnull (1))) {107 int cfathread_create( cfathread_t * handle, const cfathread_attr_t * attr, void *(*main)( void * ), void * arg ) __attribute__((nonnull (1))) { 108 108 cluster * cl = attr ? attr->cl : active_cluster(); 109 109 cfathread_t thrd = alloc(); … … 120 120 } 121 121 return 0; 122 } 123 124 int cfathread_get_errno(void) { 125 return errno; 122 126 } 123 127
Note: See TracChangeset
for help on using the changeset viewer.