Commit graph

201 commits

Author SHA1 Message Date
rfm
7d78333d26 Avoid old function which doesn't work with new runtime 2025-01-08 15:54:19 +00:00
Riccardo
9a3db6b380
Merge pull request #2 from gnustep/mac_update2
update project to work on mac again (10.9)
2024-07-16 14:54:49 +02:00
Riccardo Mottola
1f79851205 update project to work on mac again (10.9) 2024-07-14 19:37:31 +02:00
rfm
540be025c9 Remove FIFO from hash table in -release rather than -dealloc in order to avoid possible race condition where a deallocating object could be retrieved from the table. 2024-07-09 09:15:06 +01:00
rfm
30bb11b72a Remove redundant code in -dealloc ... instance is already removed from hash table in -release method. 2024-07-09 09:14:15 +01:00
rfm
4145d7e815 Make -drain: consider active threads 2024-03-15 12:14:56 +00:00
Richard Frith-Macdonald
1a8c379be8 Improve chances of threads being removed from pool when the limit is decreased. 2023-02-03 16:50:35 +00:00
Wolfgang Lux
7fa1246f24 Raise exception when attempting to insert object with nil key 2023-01-25 11:04:51 +01:00
Wolfgang Lux
941c6e70aa Remove exception handler block that just would incorrectly unlock a lock 2023-01-24 17:19:32 +01:00
Richard Frith-Macdonald
bc8e65e380 Record last change 2023-01-20 14:02:46 +00:00
Richard Frith-Macdonald
823a8ca6bf Links from a link store should be considered owned by that store. 2023-01-20 14:00:19 +00:00
Richard Frith-Macdonald
5cc01b1ef4 New release 2023-01-13 14:07:46 +00:00
Richard Frith-Macdonald
091389ae0a Add method to get human readable status 2022-08-25 14:24:23 +01:00
Richard Frith-Macdonald
633c3a6da7 Report whether pool is suspended 2022-08-24 11:31:11 +01:00
Richard Frith-Macdonald
09dfc1c403 Add functions to help with link store 2022-08-10 21:36:48 +01:00
Richard Frith-Macdonald
25e60c6301 add missing method declaration 2022-07-11 10:20:16 +01:00
Richard Frith-Macdonald
71f24ca382 Add support for thread naming 2022-07-06 15:05:36 +01:00
Richard Frith-Macdonald
b23777adfa When setting to use defaults for config, update config based on current defs 2021-11-09 11:03:10 +00:00
Richard Frith-Macdonald
c2c1b93bac fix asignment of wrong class 2021-05-27 21:45:22 +01:00
Richard Frith-Macdonald
ab83081490 Allow the class of the links in a link store to be controlled 2021-05-22 12:27:45 +01:00
Richard Frith-Macdonald
3b16cbb283 Add -getObjectRetained and -putObjectConsumed: methods 2021-05-22 11:09:12 +01:00
Richard Frith-Macdonald
5cf55f34c2 Improvde documentation 2021-02-26 16:01:07 +00:00
Richard Frith-Macdonald
e0ba8684dc Consolodate repeated code into a function and optimise a little 2021-02-23 15:53:58 +00:00
Richard Frith-Macdonald
2e707603e5 fix error in comment 2021-02-23 13:57:10 +00:00
Richard Frith-Macdonald
509d365349 Return link information when adding objects to list 2021-02-23 13:53:48 +00:00
Richard Frith-Macdonald
2a1ec7970c fix potential nul pointer dereference 2021-01-14 09:29:42 +00:00
Richard Frith-Macdonald
6eb08935ea Simplify by assuming we will run in a multithreaded environment 2021-01-14 09:29:06 +00:00
Richard Frith-Macdonald
99e01fe21e Cope with objects which can't be copied (ie -copy returns the receiver). 2019-08-08 15:02:04 +01:00
Richard Frith-Macdonald
94eb232b96 allow programmatic setting of config where defaults don't exist 2019-04-16 12:23:28 +01:00
Richard Frith-Macdonald
42e7c87f0b fix locking error 2019-04-16 12:02:26 +01:00
Richard Frith-Macdonald
573793ce5a Allow caches to be configured programmatically 2019-04-16 11:00:05 +01:00
Richard Frith-Macdonald
3bf5d81b15 Improvements for subclassing 2018-03-27 18:45:51 +01:00
Richard Frith-Macdonald
0d411fb45a Fix failure to use argument for link store insertion 2017-10-17 17:13:54 +01:00
Richard Frith-Macdonald
8cd904225c Improve documentation of -terminate: method 2017-07-13 09:41:17 +01:00
Richard Frith-Macdonald
859dc793bf Improve timeout waiting for thread to terminate 2017-07-13 09:32:58 +01:00
Richard Frith-Macdonald
2378e82aaf make -terminate: method usable from other threads 2017-07-13 08:56:55 +01:00
Richard Frith-MacDonald
29f1bab93e add code to allow refreshing of existing items in cache
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@40424 72102866-910b-0410-8b05-ffd578937521
2017-03-28 10:58:51 +00:00
Richard Frith-MacDonald
82f18a1372 Allow very large FIFO for buffering extremely high throughput systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@40193 72102866-910b-0410-8b05-ffd578937521
2016-11-07 17:47:35 +00:00
Richard Frith-MacDonald
f73a0a2cb1 fix to nil-out item after release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@39311 72102866-910b-0410-8b05-ffd578937521
2016-01-26 14:40:30 +00:00
Riccardo Mottola
f37d55d564 add GSFIFO to mac project
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@39191 72102866-910b-0410-8b05-ffd578937521
2015-11-23 16:01:15 +00:00
Riccardo Mottola
78dcc717e2 add GS MemoryReporting extensions for NSObject missing on Mac so that the whole GS base additions are not needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@39190 72102866-910b-0410-8b05-ffd578937521
2015-11-23 15:34:29 +00:00
Richard Frith-MacDonald
16b09c5202 add option for writing a whole block in one go
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@39039 72102866-910b-0410-8b05-ffd578937521
2015-10-07 13:54:54 +00:00
Richard Frith-MacDonald
33be15ea6c fix missing declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@39020 72102866-910b-0410-8b05-ffd578937521
2015-10-02 10:34:43 +00:00
Richard Frith-MacDonald
6101a48351 fxup bad declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38857 72102866-910b-0410-8b05-ffd578937521
2015-08-06 19:44:31 +00:00
Richard Frith-MacDonald
92a1962589 Add a few methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38846 72102866-910b-0410-8b05-ffd578937521
2015-07-29 14:34:58 +00:00
Richard Frith-MacDonald
08cf714574 New class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38845 72102866-910b-0410-8b05-ffd578937521
2015-07-29 08:07:44 +00:00
Richard Frith-MacDonald
e2d66ee254 add startup and shutdown methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38844 72102866-910b-0410-8b05-ffd578937521
2015-07-28 20:08:10 +00:00
Richard Frith-MacDonald
d2d36aaa35 fix uninitialised variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38843 72102866-910b-0410-8b05-ffd578937521
2015-07-28 19:24:40 +00:00
Richard Frith-MacDonald
288e83617f Add support for setting the thread class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38842 72102866-910b-0410-8b05-ffd578937521
2015-07-28 19:16:21 +00:00
Niels Grewe
6f267319e3 Optionally allow the caller to specify the time it wants to block on an
empty FIFO. This supplements the existing method of having a timeout on
the FIFO, and does not raise an excepion when the wait time is too long.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@38814 72102866-910b-0410-8b05-ffd578937521
2015-07-17 20:08:38 +00:00