This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding breakpoints


Hi Andrew,

On Wed, 2006-07-05 at 00:33 -0400, Andrew Cagney wrote:
> > - What is the precise thread model used? The data-structures of this
> > class are thread safe, but that might be overkill if observers are
> > always added from the same thread.
> >   
> you mean for frysk?  anything involving the core gets routed through the 
> event-loop and its thread (which is also responsible for juggling kernel 
> events).  This is why there's a public Task.requestBLAH that injects an 
> event to call Task.handleBLAH from the event-loop.

Cool. That means no worrying about locking the datastructures used by
the Task because there should be no concurrent change request. Nice.
I'll remove the synchronization from my classes then.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]