Re: threads and Sockets



On Wed, 25 Apr 2001, Erik Mouw wrote:

snip...

gdk_input_add( s, GDK_INPUT_READ, GTK_SIGNAL_FUNC(file_function),
&cmdinfo );

To read from the socket when data is available.

That's another way to do it, yes. But standard POSIX threads works as
well.

I understand from your mail that you never have used threads under
FreeBSD extencivly.

Göran 

----------------------------------------------------------------
Göran Hasse            email: gh raditex se     Tel: +46 8 694 92 70
Raditex AB             http://www.raditex.se    Fax: +46 8 442 05 91
Sickla Alle 7, 1tr                              Mob: 070-5530148
131 34  NACKA, SWEDEN






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]