diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-01-17 09:46:42 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-01-17 09:46:42 +0100 |
commit | 654bdcf1600bc5f2ada5790cb0a6a3418a8cc8d3 (patch) | |
tree | cf3cea3c19241e75743afde8743dd4723ea50500 /ACE/ace | |
parent | 73bdf800479e53a11143735e48348bb88c527c24 (diff) | |
download | ATCD-654bdcf1600bc5f2ada5790cb0a6a3418a8cc8d3.tar.gz |
Fixed cleanup issues
* ACE/ace/OS_NS_Thread.h:
* ACE/ace/POSIX_Proactor.cpp:
Diffstat (limited to 'ACE/ace')
-rw-r--r-- | ACE/ace/OS_NS_Thread.h | 4 | ||||
-rw-r--r-- | ACE/ace/POSIX_Proactor.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_Thread.h b/ACE/ace/OS_NS_Thread.h index 4a6c8321337..793869f379e 100644 --- a/ACE/ace/OS_NS_Thread.h +++ b/ACE/ace/OS_NS_Thread.h @@ -76,6 +76,10 @@ extern "C" { # if defined (ACE_HAS_THREADS) +# define ACE_SCOPE_PROCESS 0 +# define ACE_SCOPE_LWP 1 +# define ACE_SCOPE_THREAD 2 + # if !defined (ACE_HAS_PTHREADS) # define ACE_SCHED_OTHER 0 # define ACE_SCHED_FIFO 1 diff --git a/ACE/ace/POSIX_Proactor.cpp b/ACE/ace/POSIX_Proactor.cpp index 0a0602db1a8..8fe1729cddd 100644 --- a/ACE/ace/POSIX_Proactor.cpp +++ b/ACE/ace/POSIX_Proactor.cpp @@ -1826,7 +1826,7 @@ ACE_POSIX_SIG_Proactor::handle_events_i (const ACE_Time_Value *timeout) int error_status = 0; size_t transfer_count = 0; - if (sig_info.si_code == SI_ASYNCIO || this->os_id_ == ACE_OS_SUN_56) + if (sig_info.si_code == SI_ASYNCIO) { flg_aio = 1; // AIO signal received // define index to start |