Great package.. in version 1.3.7 (29-Jul-2000)...

One "bug" is that the documentation doesn't explain how to create
a pth_message_t, nor how the origin port is associated with one.
You have to violate the opaqueness of the pth_message_t structure
in order to actually do anything useful.

It seems like there are some missing API functions, e.g.

  pth_message_t *pth_message_new(pth_msgport_t origin_port, void *data);
  void pth_message_destroy(pth_message_t *);
  void *pth_message_getdata(pth_message_t *);

and that the data should be included in the message structure
by reference rather than by value.

Cheers,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to