[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB threads (was: PCB+GL Progress)



On 2/27/09, Peter Clifton <pcjc2@xxxxxxxxx> wrote:
> On Thu, 2009-02-26 at 12:12 +0300, Ineiev wrote:
>
>> I think in this case the solution has to include
>> some semaphores to lock at least the cleanup function
>> and probably also the board structures;
>> I can't tell how complicated it would be.
>
> No need, since PCB is one thread only, no other threads ever access our
> data-structures.

Why? say, GTK creates a thread; this thread receives a signal and goes
to the handler; the handler accesses the structures.

Cheers,
  Ineiev


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user