Changeset 29702ad for libcfa/src/concurrency/kernel
- Timestamp:
- Nov 22, 2022, 10:18:04 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 20cf96d
- Parents:
- 1553a55 (diff), d41735a (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. - Location:
- libcfa/src/concurrency/kernel
- Files:
-
- 2 edited
-
fwd.hfa (modified) (1 diff)
-
startup.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/fwd.hfa
r1553a55 r29702ad 120 120 121 121 // Yield: yield N times 122 static inline void yield( unsignedtimes ) {122 static inline void yield( size_t times ) { 123 123 for( times ) { 124 124 yield(); -
libcfa/src/concurrency/kernel/startup.cfa
r1553a55 r29702ad 39 39 #include "limits.hfa" 40 40 #include "math.hfa" 41 #include "bits/random.hfa" // prng 41 42 42 43 #define CFA_PROCESSOR_USE_MMAP 0 … … 107 108 extern void __wake_proc(processor *); 108 109 extern int cfa_main_returned; // from interpose.cfa 109 uint32_t __global_random_prime = 4_294_967_291u, __global_random_mask = false; 110 PRNG_ARG_T __global_random_prime = 4_294_967_291u; 111 bool __global_random_mask = false; 110 112 111 113 //-----------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.