M-Thread safety and beepcore-c wrapper use

"Gilbert Gagnon" <[email protected]> Wed, 11 Dec 2002 22:52:20 -0500
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
*********
Sorry if this turns out to be a duplicate but the first attempt at sending
it seems to have failed...:-(
Thanks
*********
Hello,

Has there been any discussions on the use of a BEEP wrapper (e.g. the ones
provided in beepcore-c)
in a non multi-thread safe C/C++ application.  I've not found any
description of the thread model/usage/interaction
in that wrapper and its use.  Without that description I can hardly
determine if there is a way to use 
the interface within a single threaded/event-driven (select()) system or if
I should consider writing
a new single threaded wrapper from scratch to fit such an environement.  The
only matching information 
I can find is a list of semaphone/thread related calls in the BEEP book and
a statement in "The BEEPCORE-C
Architecture" that Wappers provide for "...synchronization, ... thread
management, and so on.".
From that, I cannot deduce what that thread usage at the wrapper level
implies/requires from the profile
and application implementation (callback delivery, ...) if anything at all.
Is the intent that the BEEP "engine" (core/wrapper) 
itself runs in its own thread and that the application/profile is in another
(or more)?
Is the intent for the application to have different threads for different
channels?
Is there a way to integrate the beep related file descriptors in an external
event/select loop (e.g. X-Windows)
with socket level callbacks into the core (I'm not seeing any)?

Any help would be appreciated.

Thanks

-----------------------------------+-------------------------------------
 \~~~~/ Gilbert C. Gagnon          | *       [email protected]
 |    | NORTEL Networks            | %        (613) 765-4035
 [-OO-] Multiservice Data Manager  | % FAX:   (613) 763-2037
 | () | P.O. Box 3511, Station C   | % ESN:       6 395-4035  ,---. 
 |    | Ottawa, Ontario            | Dept:    NM10           CO-|| Y
 `----' Canada                     | * Stop:  04351Q18       O  || |
        K1Y 4H7                    |                         |   D J
-----------------------------------+-------------------------// /"""'----