-
I have fixed this in CVS HEAD. Please checkout, recompile and try.
2009-08-19 15:26:28 UTC in Tcl
-
vasiljevic committed patchset 608 of module thread to the Tcl CVS repository, changing 2 files.
2009-08-19 15:25:28 UTC in Tcl
-
Hi!
I have just commited the changes for
[tpool::suspend] and [tpool::resume].
First of all: it is really handy! I can imagine
many ways how people would benefit from it.
I even contemplate to add this to the
singleton thread, not just thread pools.
Second: it is trivial to do at the C-level
and (well) clumsy on Tcl.
Third: I said I did not understand why
Barry needed it...
2009-08-19 15:12:19 UTC in Tcl
-
vasiljevic committed patchset 607 of module thread to the Tcl CVS repository, changing 3 files.
2009-08-19 14:58:31 UTC in Tcl
-
Hi!
I believe this is trivially possible. I could just flip a bit in the pool structure that will be examined by every pool worker.
In case bit it set, the worker would spin, otherwise it would service the pool. I could implement this with two commands: [tpool::suspend poolName] and [tpool::resume poolName]. It is also possible to achieve this "from the outside" by making a global mutex and...
2009-08-18 21:30:44 UTC in Tcl
-
I don't know any more. Its been a long time I looked
at that code. I will look into it... Lately I am just
swamped with the "regular" work so I simply cannot
get any spare time for other activities...
Cheers
Zoran.
2009-05-02 19:03:05 UTC in Tcl
-
Sorry for delay. I will look into that over the weekend.
Was extremely busy last several months...
Cheers
Zoran.
2009-03-13 14:41:16 UTC in Tcl
-
vasiljevic committed patchset 1308 of module naviserver to the NaviServer CVS repository, changing 1 files.
2008-11-18 08:47:02 UTC in NaviServer
-
vasiljevic committed patchset 1307 of module naviserver to the NaviServer CVS repository, changing 1 files.
2008-11-18 08:44:52 UTC in NaviServer
-
I haven't look at the Tcl implementation. This was just an exercise to
show what you can build from pieces provided by the toolbox. The C
version is really the one people should use.
But if you insist... I will look into it.
Cheers
Zoran.
2008-10-22 20:10:52 UTC in Tcl