Dave Peticolas <[EMAIL PROTECTED]> writes:

> > If so, then we just need something like:
> >     void gncSetEventFlag (void);
> > 
> > and the Backend method can be something like:
> >     void (*process_event) (Backend *be);
> 
> Ok, I will work on adding this today.

Ok.  We should probably also have a'ClearEventFlag()' for when the
event(s) get handled.

Also, do you plan to make this MT-Safe, or should a multi-threaded
backend use a mutex around these functions?  I don't really care
either way.  I'm kind of thinking that the backend might want to
handle the locking itself, because it will need to lock the
event-staging-area anyways.

> dave

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [EMAIL PROTECTED]                        PGP key available

_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

Reply via email to