Commit Graph

640 Commits

Author SHA1 Message Date
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
Rangel Reale
1c648764c2 - Android log channel implementation
- Removes warning from Bugcheck.h on Android

fixes #122
2015-01-29 11:14:39 -02:00
martin-osborne
9b2e897280 Removed comment. 2015-01-25 10:05:59 +00:00
martin-osborne
c264a0d716 Restored original names for typedefs. Fixed gcc build. 2015-01-25 07:28:24 +00:00
martin-osborne
5e104addd3 Issue #297 - Implemented BasicMemoryStreamBuf::seekoff
This change adds support for `tellp`, `tellg` and seeking.

**Additional notes:**

+ `tellg` calls `rdbuf->pubseekoff(0, cur, out)` [lib.ostream.seeks] so need to
  provide an override of `seekoff`.
+ Requirements for `seekoff` are in 27.7.1.3.
+ 27.7.1.3 - Standard has a roundabout way of saying `cur` is valid if only one
  of `in` or `out` is specified (Condition 3).
+ `xend` is `egptr`/`epptr` (get area/put area).
+ `xbeg` is `eback`/`pbase` (get area/put area).
+ `xnext` is `gptr`/`pptr` (get area/put area).
+ `newoff` is a bit of a misnomer, the new offset into the stream is given by
  `newoff + off`.  `newoff` is really the start point.
+ You can set `gnext` with `setg`, but you can't do that with `setp` you have
  to `pbump` by the new offset minus the current offset.
2015-01-24 18:39:06 +00:00
martin-osborne
6eb8f582e7 Added missing explicit keyword. 2015-01-17 12:02:42 +00:00
martin-osborne
1bb48442b6 Updated documentation. 2015-01-17 11:58:01 +00:00
martin-osborne
21d2e963ef Updated Event c'tor to accept an enum. 2015-01-17 10:07:44 +00:00