On Tue, Oct 17, 2000, Oliver George wrote:
> [...]
> my system uses Message Port Communication, there are heaps of
> pth_msgport_put calls... i want an example pth_msgport_put call which just
> sends a single null character.
struct mymessage {
pth_message_t link;
char buf[BUFLEN];
};
...
pth_msgport_t mp;
struct mymessage msg;
msg.buf[0] = 0;
pth_msgport_put(mp, (pth_message_t *)&msg);
...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager (Majordomo) [EMAIL PROTECTED]