FrancisANDRE
c8abda6e4e
change return type of getOsTid() const; from long to IntPtr
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-19 17:46:05 +02:00
FrancisANDRE
2f40cd5b59
With ptrhead, Thread::currentTid() returns a pointer to a struct which
...
leads to a compile error when assigning it to an long. Thus _ostid type
should be changed to IntPtr and the assignment should use a
reinterpret_cast.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-17 07:36:57 +02:00
FrancisANDRE
4368a1fcfe
add POCO_EXPORT_INTERFACE to ClassLibrary.h
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-08 11:27:12 +02:00
Mazyad Alabduljaleel
5cff648eea
Added NotificationQueue::remove function
...
This includes appropriate tests, which pass on my Mac 10.4 machine
2015-08-06 14:13:11 +04:00
Guenter Obiltschnig
d2c64b4493
GH# 878: check for valid hex characters, support SHA-1 name-based UUIDs (v5)
2015-07-31 10:05:58 +02:00
Aleksandar Fabijanic
22bb363260
FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869 , part II
2015-06-23 21:04:59 -05:00
Aleksandar Fabijanic
cc9fb56705
FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869
2015-06-23 21:02:18 -05:00
Aleksandar Fabijanic
2d6fc27dd1
Var BadCastException #861
2015-06-10 09:03:12 -05:00
unknown
1c26b58452
Optional force scan for DirectoryWatcher #853
2015-06-03 14:55:05 -05:00
Matej Kenda
e26bb65a5b
Logger: added %O to message format to display numeric thread id in logs.
2015-06-01 10:00:56 +02:00
Matej Kenda
f1e6cba313
Thread POSIX: tid is numeric OS thread ID on Linux and OSX instead of pthread_t.
2015-06-01 09:59:01 +02:00
Matej Kenda
01fc7f2e1c
Added condition variable and timeout to ObjectPool::borrowObject/returnObject to block caller until an object is available.
2015-05-27 14:01:39 +02:00
Alex Fabijanic
995832639e
Merge branch 'develop' into OpenSSLBuild
2015-05-21 19:46:58 -05:00
Alex Fabijanic
af6c22c0ac
simplify Crypto and NetSSL VS projects
2015-04-25 16:18:19 -05:00
Guenter Obiltschnig
ac12cd4972
removed GCC_DIAG_OFF macro, fixed static_assert typedef to include __attribute__((unused)) for GCC
2015-04-21 19:03:55 +02:00
Alex Fabijanic
62bcc5c6ed
GCC_DIAG_* definitions are missing for Windows (MinGW) #785
2015-04-22 18:36:12 -05:00
martin-osborne
7780ab3ae0
Corrected more spellings.
2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3
Corrected more words.
2015-04-10 11:31:12 +01:00
martin-osborne
e9dce11e50
Correct mispelt 'd' and 'e' words.
2015-04-10 10:54:47 +01:00
martin-osborne
12c0594db6
Corrected misspelt 'b' and 'c' words.
2015-04-06 17:56:13 +01:00
martin-osborne
7e730aa9b8
Corrected other misspelt 'a' words.
2015-04-06 17:34:48 +01:00
martin-osborne
91dd5f8e44
Corrected spelling of accommodate in documentation and comments.
2015-04-06 17:03:35 +01:00
Guenter Obiltschnig
c06b36039b
fix GCC_DIAG_OFF
2015-03-27 21:02:19 +01:00
Guenter Obiltschnig
c0228c5ff8
allow turning off GCC_DIAG_ON/OFF
2015-03-27 16:54:37 +01:00
Guenter Obiltschnig
df9575dd26
fixes for SolarisStudio compiler
2015-03-23 23:20:15 +01:00
Rangel Reale
d6fcca806e
* NaCl support
2015-03-20 11:28:49 -03:00
Alex Fabijanc
027c8a40e2
FIFOBuffer tidy up
2015-03-19 23:22:00 -05:00
Guenter Obiltschnig
2b1301b3e3
style and interface fixes for thread affinity
2015-03-18 16:40:22 +01:00
Aleksandar Fabijanic
8b96fd4a33
Merge pull request #743 from bas524/affinity
...
add thread affinity policy to threadpool
2015-03-17 17:47:54 -05:00
bas524
283e9a9595
fix error
2015-03-17 09:07:26 +03:00
bas524
6b7c87bf5c
replace typedef enum to pure enum ThreadAffinityPolicy
...
fix problem in cmake for pthread_setaffinity_np
2015-03-17 08:33:05 +03:00
Guenter Obiltschnig
490fa253f1
style fix
2015-03-12 14:50:16 +01:00
ale_bychuk
9d4d3e41dd
Add thread affinity support to taskmanager
2015-03-12 16:12:33 +03:00
ale_bychuk
4c1fe9ef02
add thread affinity policy to threadpool
...
there are OS_DEFAULT, UNIFORM_DISTRIBUTION and CUSTOM
With custom policy we can run thread on specified cpu
2015-03-11 23:39:21 +03:00
Pascal Bach
745d5fb025
Add missing const in ThreadImpl::getAffinityImpl for WINCE
2015-03-11 11:31:10 +01:00
Pascal Bach
1b8a7c1664
Add missing Path implementations for WINCE
2015-03-11 11:30:10 +01:00
ale_bychuk
a0e172419f
fix indentation
2015-03-08 22:54:45 +03:00
ale_bychuk
3af35f548c
fix indentation
2015-03-08 22:04:29 +03:00
ale_bychuk
662fbc861a
add test for thread affinity and fix some problems
2015-03-07 10:55:23 +03:00
bas524
888abad26c
add getAffinity method
...
throw NotImplementedException on unsupported platforms
2015-03-05 18:11:56 +03:00
bas524
158aaab180
Add setaffinity method to thread implementation and interface class
2015-03-04 13:24:26 +03:00
Guenter Obiltschnig
5dea080b0b
use GCC_DIAG_OFF(unused-local-typedefs) only for GCC >= 4.8
2015-03-03 06:51:23 +01:00
Jonathan S
3173bddd99
Make next() use call to begin() instead of _buffer.begin()
2015-02-24 22:07:28 -05:00
Jonathan S
1bbeb9ebd3
Added same next() logic to advance() to prevent advancing past the end of the buffer.
2015-02-22 19:56:54 -05:00
Jonathan S
30ae0afd7b
Changed FIFOBuffer's next() to reset FIFO data to the start of the internal buffer to make it compatible with writing to the next() pointer.
2015-02-21 20:31:44 -05:00
Alex Fabijanic
07a2529d9d
JSON Formatter modifications
2015-02-12 20:49:35 -06:00
Alex Fabijanic
beb81b4f16
add JSONFormatter
2015-02-10 00:27:07 -06:00
Aleksandar Fabijanic
aaf32257e3
Merge pull request #601 from martin-osborne/issue_532-3
...
Issue #532 - Changes to address `FastMutex` being non-recursive on Win32 platforms
2015-02-09 21:08:12 -06:00
Aleksandar Fabijanic
c00f13d277
Merge pull request #561 from bschramke/develop
...
Support for XDG Base Directory Specification
2015-02-09 21:04:28 -06:00
Rangel Reale
923874c243
* Add export macro to AndroidLogChannel
2015-01-29 15:47:46 -02:00