Hi!

I make multiplayer multithreaded server program and I have some error
with pth-1.3.7 packet for FreeBSD 4.2 . Installation procedure is
successful.
But where I use the scheme

int i;
pth_select(..);
pth_write(...);
for(i=0;i < 30;i++)
{
    ....
    pth_select(...);
    pth_write(...);
    ...
}

If  variable "i"  is equals 1 during execution, program is breaked with
message "EOT ....". For SUSE Linux 4.2 any error aren't happened with
the same code. And if I change "pth_select" to "select" (for FreeBSD 4.2
too) - no errors.

I think, error must be caused pth_select. How can I use this function
with pth-1.3.7 for FreeBSD 4.2?

With best regards,
Vitaly Tatarintsev.
Tomsk, Siberia
http://gameserver.tomsk.ru/english/
http://igroki.net

______________________________________________________________________
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