Changeset 9e27f69 for libcfa/src/concurrency/clib/cfathread.cfa
- Timestamp:
- Mar 15, 2021, 12:34:50 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 36fbaeca
- Parents:
- 4c05a40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
r4c05a40 r9e27f69 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.