List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:June 7 2000 1:22pm
Subject:Re: release_lock sometimes fails
View as plain text  
smurf@stripped wrote:

> >Description:
>         Program A:
>                                 Program B:
>         select get_lock("A",10) => 1
>                                 select get_lock("B",10) => 1
>                                 ...
>                                 select release_lock("B") => 1
>         select release_lock("A") => 0
>
>         Duh???

This is correct.
You may hold only one lock at a time.
The second lock releases the first.


Thread
release_lock sometimes failsUnknown Sender7 Jun
  • Re: release_lock sometimes failsGerald Clark7 Jun
    • Re: release_lock sometimes failsUnknown Sender7 Jun
  • Re: release_lock sometimes failsGerald Clark7 Jun
  • Re: release_lock sometimes failssinisa7 Jun
  • Re: release_lock sometimes failssasha7 Jun
  • Re: release_lock sometimes failssasha7 Jun
Re: release_lock sometimes failsUnknown Sender7 Jun
  • Re: release_lock sometimes failssinisa7 Jun