Changeset 24d6572 for libcfa/src/concurrency/thread.cfa
- Timestamp:
- Jun 12, 2023, 2:45:32 PM (2 years ago)
- Branches:
- ast-experimental, master
- Children:
- 62d62db
- Parents:
- 34b4268 (diff), 251ce80 (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/thread.cfa
r34b4268 r24d6572 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Dec 11 20:56:54 202213 // Update Count : 10 212 // Last Modified On : Mon Jan 9 08:42:33 2023 13 // Update Count : 103 14 14 // 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE18 17 19 18 #include "thread.hfa" … … 54 53 preferred = ready_queue_new_preferred(); 55 54 last_proc = 0p; 55 link_node = 0p; 56 56 PRNG_SET_SEED( random_state, __global_random_mask ? __global_random_prime : __global_random_prime ^ rdtscl() ); 57 57 #if defined( __CFA_WITH_VERIFY__ ) … … 60 60 #endif 61 61 62 clh_node = malloc( );63 *clh_node = false;64 65 62 doregister(curr_cluster, this); 66 63 monitors{ &self_mon_p, 1, (fptr_t)0 }; … … 71 68 canary = 0xDEADDEADDEADDEADp; 72 69 #endif 73 free(clh_node);74 70 unregister(curr_cluster, this); 75 71 ^self_cor{};
Note:
See TracChangeset
for help on using the changeset viewer.