Commit Graph

31 Commits

Author SHA1 Message Date
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
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
Günter Obiltschnig
04e7e04d4d Remove \$Id`$ headers 2017-09-09 11:14:06 +02: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
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
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
68306c2960 trunk/branch integration: VxWorks & Wince 2011-08-22 18:02:56 +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
01613f5cf6 serialized access to startImpl() functions 2008-04-11 09:27:41 +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
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +00:00
Guenter Obiltschnig
be44df77fd latest changes from main rep 2007-05-05 13:15:55 +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