Dear Massimo, Jeff and Damon,

thank you for the answers and contributions...

Am 18.07.2013 18:26, schrieb Massimo Manghi:
> On 07/18/2013 04:39 PM, Harald Oehlmann wrote:
>> IMHO, fileevents must work, otherwise Rivet is not functional.
>>
>> To reach this, I only see:
>>
>> 1) create interpreters only in worker threads and not in the master 
>> thread on an unpatched TCL
> 
> this would break the way RivetServerInit works.

I know, thats why it should be enabled if possible or if forced by a
command line parameter.

As Damon states, a non-threaded build is not concerned neiter.
There, no Notifier Thread is used and thus it works.

Unfortunately, threaded build is now the default and should be seen as
the standard case (IMHO).

>> 2) in a patched or newer version of TCL, the current way may be
>> used. Then, Tcl_InitNotifier and Tcl_FinalizeNotifier calls should
>> be inserted in child initialization and deletion.
>>
> 
> I got fileevent working again by inserting Tcl_FinalizeNotifier in
> Rivet_InitHandler and Tcl_InitNotifier in Rivet_InitTclStuff (at the
> cost of breaking the inheritance of an interpreter from the parent to
> the child process)

Did you use the patched Tcl ?
If not, this would be a solution to.

> I haven't see any reactions to your message to TCLCORE, we maybe should
> reiterate it or put the question in a simplified form. I was thinking of
> something that could be a basis for a TIP, something that sounds like
> "Improved Tcl subsystems control on Unix systems"

Unfortunately, this is often the case.
I suppose, Jan Nijtmans is on holiday. I normally ask Jan directly.
I don't want to use a tip, as this takes time.
Thats why I see it as a bug...

But if you think, there should be more pressure, could not someone of
you write to the core list and underline the importance of the issue ?

But the second aim I have is to improve the patched version of TCL.
I am really a novice in thread programming and this is my very first c
contribution to the tcl core.
I would ask some skilled persons to verify.
I suppose, also Alexandre Ferrieux is on holiday, as he mostly helps
with those issues.

Thanks to Jeff to give reasons why this is important.
So I don't feel so stupid reasoning it by that...

Thank you all,
Harald


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to