Changeset d964c39 for libcfa/src/concurrency
- Timestamp:
- Feb 25, 2023, 6:45:44 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 601bd9e
- Parents:
- ce44c5f (diff), 2d028003 (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
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
rce44c5f rd964c39 16 16 // #define EPOLL_FOR_SOCKETS 17 17 18 #include <sys/socket.h> // first include because of anonymous types __SOCKADDR_ARG, __CONST_SOCKADDR_ARG19 18 #include <string.h> 20 19 #include <errno.h> 20 #include <unistd.h> 21 #include <sys/socket.h> 21 22 22 23 #include "fstream.hfa" … … 27 28 #include "time.hfa" 28 29 #include "stdlib.hfa" 29 30 #include "iofwd.hfa" 30 31 #include "cfathread.h" 31 32 … … 470 471 } 471 472 472 #include <unistd.h>473 474 #include <iofwd.hfa>475 476 473 extern "C" { 477 474 //-------------------- -
libcfa/src/concurrency/clib/cfathread.h
rce44c5f rd964c39 10 10 // Created On : Tue Sep 22 15:31:20 2020 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Feb 16 12:00:32202313 // Update Count : 512 // Last Modified On : Sat Feb 25 17:39:20 2023 13 // Update Count : 6 14 14 // 15 15 16 16 #if defined(__cforall) || defined(__cplusplus) 17 #include <sys/socket.h> // first include because of anonymous types __SOCKADDR_ARG, __CONST_SOCKADDR_ARG18 17 #include <unistd.h> 19 18 #include <errno.h> 19 #include <sys/socket.h> 20 20 21 21 extern "C" { -
libcfa/src/concurrency/io/call.cfa.in
rce44c5f rd964c39 31 31 Prelude = """#define __cforall_thread__ 32 32 33 #include <sys/socket.h> // first include because of anonymous types __SOCKADDR_ARG, __CONST_SOCKADDR_ARG34 33 #include <unistd.h> 35 34 #include <errno.h> 35 #include <sys/socket.h> 36 36 #include <time.hfa> 37 37 -
libcfa/src/concurrency/iofwd.hfa
rce44c5f rd964c39 16 16 #pragma once 17 17 18 #include <sys/socket.h> // first include because of anonymous types __SOCKADDR_ARG, __CONST_SOCKADDR_ARG19 18 #include <unistd.h> 19 #include <sys/socket.h> 20 20 21 21 extern "C" { -
libcfa/src/concurrency/kernel/cluster.hfa
rce44c5f rd964c39 146 146 } 147 147 148 static struct {149 constunsigned readyq;150 constunsigned io;148 const static struct { 149 unsigned readyq; 150 unsigned io; 151 151 } __shard_factor = { 2, 1 }; 152 152 -
libcfa/src/concurrency/mutex_stmt.hfa
rce44c5f rd964c39 4 4 //----------------------------------------------------------------------------- 5 5 // is_lock 6 trait is_lock(L & | sized(L)) { 6 forall(L & | sized(L)) 7 trait is_lock { 7 8 // For acquiring a lock 8 9 void lock( L & );
Note:
See TracChangeset
for help on using the changeset viewer.