jsteube
|
e74cebba75
|
Fix some spacing in affinity.c
|
2023-01-20 21:01:56 +00:00 |
|
philsmd
|
a24d723d66
|
minor code style fixes
|
2022-03-31 19:19:16 +02:00 |
|
Pierre Pronchery
|
1cb24b0a3c
|
Fix the build for NetBSD
|
2022-01-10 00:14:45 +01:00 |
|
Jukka Ojanen
|
0edab2b20f
|
Allow CPU affinity mask up to 64 processors in Windows. Remove call to SetThreadAffinityMask as SetProcessAffinityMask limits all threads in process. Report error code. pthread_setaffinity_np returns non-zero if failure; works also with OSX as it reports KERN_SUCCESS which is zero.
|
2021-07-06 16:47:18 +03:00 |
|
jsteube
|
05a01d3843
|
fix some datatypes
|
2018-02-08 19:13:29 +01:00 |
|
philsmd
|
9d58ddd9f6
|
fixed strtok_r () calls, could prevent memory crashes
|
2017-11-18 14:23:02 +01:00 |
|
Rosen Penev
|
1109017a53
|
Change atoi family to strtol family
Suggested by clang tidy
|
2017-11-05 12:33:41 -08:00 |
|
Royce Williams
|
be4cf9ef67
|
more event_log_* standardization
|
2017-04-02 00:18:59 -08:00 |
|
Royce Williams
|
067372f5ce
|
more event_log_* standardization
|
2017-04-01 23:50:06 -08:00 |
|
philsmd
|
f535eb2bd0
|
always check the input for NULL before the strtok_r () calls
|
2017-02-14 20:46:03 +01:00 |
|
philsmd
|
a82f6fb77c
|
our usage of strtok_r () was not totally correct (but almost)
|
2017-02-14 19:48:07 +01:00 |
|
jsteube
|
521c819842
|
CPU Affinity: Fixed memory leak when invalid cpu Id was specified
|
2017-02-14 12:42:22 +01:00 |
|
Rosen Penev
|
4d09cc10fd
|
Fix some formats and conversion errors
|
2016-11-30 15:14:42 -08:00 |
|
Rosen Penev
|
96783ed7a3
|
Fix compilation for native Cygwin
|
2016-11-29 14:10:39 -08:00 |
|
Nikolai Lifanov
|
9c937aa3d3
|
add missing includes for FreeBSD
These were lost during refactoring and found again
in preparation for port update to upcoming 3.20.
|
2016-11-21 17:03:40 -05:00 |
|
jsteube
|
ea4fd1de50
|
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
|
2016-11-20 22:54:52 +01:00 |
|
jsteube
|
536dcef7eb
|
Replaced all calls to strtok() with strtok_r() to ensure thread safety
|
2016-11-16 10:35:01 +01:00 |
|
jsteube
|
93adde9d2f
|
* Wrap everything related to *stat() into own functions
* Testwise remove early includes to stdin for OSX, see if they are still required
|
2016-10-31 11:28:06 +01:00 |
|
jsteube
|
af9de0a7b7
|
Fix some error string formats
|
2016-10-11 10:55:02 +02:00 |
|
jsteube
|
8fc4da795b
|
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
|
2016-10-10 11:03:11 +02:00 |
|
jsteube
|
07f5b2195b
|
Hopefully fixes some OSX compiler errors
|
2016-10-10 09:18:10 +02:00 |
|
jsteube
|
88565b4a5e
|
Switch CPU affinity stuff to event_log_*
|
2016-10-08 23:38:34 +02:00 |
|
jsteube
|
a5f842c4b5
|
Fix some missing sign conversions
|
2016-09-30 17:41:40 +02:00 |
|
jsteube
|
a0f6ed6832
|
Introduce hashes_t; not finishe yet
|
2016-09-16 17:01:18 +02:00 |
|
jsteube
|
3daf0af480
|
Added docs/credits.txt
Added docs/team.txt
|
2016-09-11 22:20:15 +02:00 |
|
jsteube
|
9eb47153d4
|
Replace all #ifdef with #if defined (...) for convention
|
2016-09-07 22:29:57 +02:00 |
|
jsteube
|
ac3de4a57e
|
Fix CPU_ISSET() access for apple
|
2016-09-07 11:53:23 +02:00 |
|
jsteube
|
9336ca8838
|
Remove data. access from pthread_setaffinity_np (apple version)
|
2016-09-07 11:42:05 +02:00 |
|
jsteube
|
3ba5c743f8
|
Move affinity specific functions into their own source file
|
2016-09-07 11:16:31 +02:00 |
|