Changeset 53ca318 in mainline for libc/generic/psthread.c
- Timestamp:
- 2006-05-23T11:01:31Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c6b45f
- Parents:
- 07d960a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/psthread.c
r07d960a r53ca318 36 36 #include <futex.h> 37 37 #include <assert.h> 38 #include <async.h> 38 39 39 40 #ifndef PSTHREAD_INITIAL_STACK_PAGES_NO … … 135 136 goto ret_0; 136 137 } 137 assert(!(ctype == PS_TO_MANAGER && list_empty(&manager_list))); 138 /* If we are going to manager and none exists, create it */ 139 if (ctype == PS_TO_MANAGER && list_empty(&manager_list)) 140 async_create_manager(); 138 141 139 142 pt = __tcb_get()->pst_data; … … 251 254 futex_down(&psthread_futex); 252 255 if (list_empty(&manager_list)) { 253 printf("No manager found!.\n");254 256 futex_up(&psthread_futex); 255 257 return;
Note:
See TracChangeset
for help on using the changeset viewer.