Aleksandar Fabijanic
86a4f0045e
Fix/posix sleep ( #3705 )
...
* fix(Thread_POSIX): sleep() poor performance #3703
* chore(vscode): add file associations
* fix(TaskManager): waits for all threads in the ThreadPool #3704
* fix(Thread): call std::this_thread::sleep_for() to sleep #3703
* fix(PollSet): wakeup fd is never read #3708
* feat(Thread): Add Thread::set/getAffinity() #3709
* doc(Thread): Thread::trySleep() assertion #3710
* fix(PollSet): wakeup fd is never read (windows portion and some other optimizations) #3708
* feat(SocketReactor): improvements #3713
* chore(ThreadTest): add missing include
* fix(PollSet): wakeup fd is never read #3708
* fix(Any): #3682 #3683 #3692 #3712
* fix(mingw): lowercase winsock2 and iphlpapi to allow cross compile #3711
* feat(Thread): Add Thread::set/getAffinity() #3709
* chore(SocketReactor): one-liners inlined, removed redundant try/catch in dospatch, remove unused onBusy()
* feat(SocketReactor): add socket to ErrorNotification
* fix(SocketReactor): pollTimeout assignment and ConnectorTest leak
2022-07-26 06:54:56 -05:00
JackyWoo
1d28d2d42d
set thread name ( #3664 )
...
* set thread name
* fix dead lock
* fix code style & return fake name
* fix code style
* fix code style
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-07-18 05:21:33 -05:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
ff879f5905
Fix/tsan ( #3617 )
...
* fix(Foundation): tsan warnings fixes
* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress
* fix(Util): tsan fixes
* fix(netSSL_OpenSSL): tsan fixes
* fix(Data): tsan warnings fixes
* feat(ci): add tsan job
* feat(ci): add tsan job, another attempt
* feat(ci): add tsan job, 3rd attempt
* fix(Foundation): tsan warnings fixes
* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress
* fix(Util): tsan fixes
* fix(netSSL_OpenSSL): tsan fixes
* fix(Data): tsan warnings fixes
* feat(ci): add tsan job
* feat(ci): add tsan job, another attempt
* feat(ci): add tsan job, 3rd attempt
* fix(ResultMetadata): memory leak #3474
* feat(ci): disable ActiveDispatcher tests for tsan runs
* feat(ci): try to fix tsan options file detection (again)
* chore(TestLibrary: correct spelling
* fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs
* fix(ci): add mysql ports
* feat(ci): add VS asan
* feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624
* chore(asan): disable msvc asan build (dll not found)
* chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64
* chore(JSON): sync pdjson with upstream
* fix(Statement): Poco::Data::Statement becomes unusable after exception #2287
2022-06-01 23:47:26 -05:00
Matej Kenda
8a8c23c352
Fixes from develop experimental (on top of 1.11.2) ( #3017 )
...
* MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11.
* Construct MongoDB::Cursor from aggragation cursor.
* Added function to get OS-specific numerical thread ID and %J pattern to use numerical OS thread id in pattern formatter.
Co-authored-by: Tomaz Beltram <tomaz.beltram@topit.si>
2022-05-18 17:23:16 -05:00
Alex Fabijanic
09b229df2c
Message Doesn't Support 64-bit Thread IDs #1913
2017-09-28 18:12:31 -05:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
8d053e259c
fixed issues reported by Klocwork
2016-09-26 18:15:43 +02:00
Guenter Obiltschnig
4b53f137de
Thread fixes for POSIX
2014-11-16 20:51:11 +01:00
Günter Obiltschnig
7043a3d4ff
added support for starting functors/lambdas to Poco::Thread class
2014-11-16 20:43:19 +01:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
aleks-f
6719d3448f
GH #140 : Poco::Runnable threading cleanup issue
2013-03-29 14:02:53 -05:00
Alex
3efbbdc1f7
GH #79 : Poco::Thread leak on Linux
...
fixed GH #79 : Poco::Thread leak on Linux
2013-03-17 21:13:04 -05:00
aleks-f
df8f4eb7c0
Replaced space indentations with tabs
...
Replaced intermittent space indentations with tabs; removed test.txt
file
2012-11-12 20:45:16 -06:00
Aleksandar Fabijanic
10267b5899
SF#3563517: Get rid of loss-of-precision warnings on x64 MacOS
2012-09-06 03:41:21 +00:00
Aleksandar Fabijanic
9b952a29c7
ported 1.4.4 branch changes (needs build checks and test runs!)
2012-05-19 03:04:51 +00:00
Aleksandar Fabijanic
5a639074d9
change EOL to 'native'
2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027
new trunk (base for 1.5)
...
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7
removing old trunk files
2012-04-23 00:43:14 +00:00
Marian Krivos
7d7c02c579
trunk: backport eventing from 1.4.3
2012-02-05 12:16:58 +00:00
Marian Krivos
68306c2960
trunk/branch integration: VxWorks & Wince
2011-08-22 18:02:56 +00:00
Guenter Obiltschnig
9464ca7b24
fixed SF# 2841812: Posix ThreadImpl::sleepImpl throws exceptions on EINTR
2009-08-25 06:49:47 +00:00
Guenter Obiltschnig
64a7203a0d
integrated fixed from 1.3.4
2009-02-18 13:12:25 +00:00
Aleksandar Fabijanic
2a93c3e84f
some cosmetic changes
2008-04-24 10:06:35 +00:00
Aleksandar Fabijanic
9fd70bade2
- POCO_THREAD_STACK_SIZE macro
...
- few Thread modifications
- ThreadPool configurable stack size
2008-04-20 23:28:41 +00:00
Aleksandar Fabijanic
32c8d371e9
Thread OS priority
2008-04-15 23:25:19 +00:00
Aleksandar Fabijanic
1867398d32
removed Mutex from Win32, split POSIX entry() function into two
2008-04-11 10:15:43 +00:00
Aleksandar Fabijanic
89ca50a581
SF 1939071 and 1928786
2008-04-11 01:37:49 +00:00
Guenter Obiltschnig
da49971d0f
synced with main repository
2008-01-28 17:23:19 +00:00
Guenter Obiltschnig
3e46ab332b
latest changes from main repository
2007-04-25 08:39:02 +00:00
Guenter Obiltschnig
7639f5a3f0
sync to internal repository
2007-02-23 14:27:57 +00:00
Guenter Obiltschnig
bb11cbaf29
sources from main repository
2006-12-22 09:51:53 +00:00
Guenter Obiltschnig
772a1021dc
sources from main repository
2006-12-22 09:31:08 +00:00
Guenter Obiltschnig
768642ae98
sources for 1.3
2006-11-17 16:21:51 +00:00
Guenter Obiltschnig
84fedbdb60
set eol-style to native
2006-10-23 15:48:43 +00:00
Guenter Obiltschnig
2d4078f392
submitted 1.2.0
2006-08-29 07:10:35 +00:00