Re: thread shared variables lockinging

From: Zoran Vasiljevic (zoran_at_archiware.com)
Date: 12/16/03


Date: 16 Dec 2003 04:16:24 -0800

yahalome@XOR-T.COM (yahalom) wrote in message news:<3d933151.0312152257.6d36af1a@posting.google.com>...
> Hello
>
> I tried to use the tsv::lock but it seems that the locking does not
> happen.
> this is a test script. I would accept that only the first thread will
> be able to enter the while loop but it seems that both thread enter

Umfp... this is a bug, sorry.
I will have this fixed in the 2.6 release (due in couple of days).
Thanks for the report.

Cheers,
Zoran



Relevant Pages

  • Re: adding rows from one datatable to another
    ... As I said in the first thread, I don't want to do a copy as I add the ... rows in a for loop (concatenate if you prefer). ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Grep and mv
    ... It looks like I have found a big bug ... neither mv nor cp work in a for do done loop ... The little test script above tells the tale. ... And mv does not like attempted work arounds. ...
    (comp.unix.shell)
  • Re: Threads - WaitForMultiObjects equivalent in C#
    ... You can claim there's a bug until you're blue in the face, ... posted breaking in the context in which I specifically stated it was ... when its time for second iteration first thread might already ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Grep and mv
    ... > Here is a test script I wrote and ran ... loop so it doesn't prove anything. ... there is no such bug as you describe. ...
    (comp.unix.shell)
  • thread shared variables lockinging
    ... I tried to use the tsv::lock but it seems that the locking does not ... this is a test script. ... I would accept that only the first thread will ...
    (comp.lang.tcl)