tcdrain won't work?

2002-02-08 Thread Titus von Boxberg
Hi, I tried to use tcdrain to make sure that all characters are sent via a COM port but it seems that it won't work in about 50% of the calls to it, i.e. tcdrain returns before all characters are sent via sio.c. Has anyone noticed that effect? I tried to understand how it works. Apparently tty.c

Re: GCC Upgrade?

2001-03-20 Thread Titus von Boxberg
"Alexander N. Kabaev" wrote: > > On 19-Mar-2001 Titus von Boxberg wrote: > > David O'Brien wrote: > >> > >> On Mon, Mar 19, 2001 at 02:54:52PM +0100, Titus von Boxberg wrote: > >> > Since at least aug. 2000 (according to the mailing list

Re: GCC Upgrade?

2001-03-19 Thread Titus von Boxberg
David O'Brien wrote: > > On Mon, Mar 19, 2001 at 02:54:52PM +0100, Titus von Boxberg wrote: > > Since at least aug. 2000 (according to the mailing list > > archives) the exception handling in base system g++ is broken > > (at least for multithreaded programs) >

Re: GCC Upgrade?

2001-03-19 Thread Titus von Boxberg
David O'Brien wrote: > > Monday. GCC 2.95.3 will hi 4-STABLE after April 1st. Heck, April 1st > might actually be the best day to do it. So if RELENG_4 is unfrozen by > then, that's when I'll MFC it. ;) Hi, I just posted the question in another thread: Since at least aug. 2000 (according to t

c++ exceptions with pthreads

2001-03-17 Thread Titus von Boxberg
Hi, I just read your reply in the hackers mailing list regarding c++ exceptions. Does that mean that now (or from release 4.3 on) the base system g++ is bugfixed regarding SIGSEGVs with c++ exceptions? What causes the bug in exception handling? Why does the packaged g++ work? Thanks in advance

Re: Unicode on FreeBSD

2000-04-04 Thread Titus von Boxberg
Alex Belits wrote: > > Anyone who has anything to do with the Internet must deal with UTF-8: > > "Protocols MUST be able to use the UTF-8 charset, which consists of the ISO > > 10646 coded character set combined with the UTF-8 character encoding > > scheme, as defined in [10646] Annex R (publish

Re: Pthread blocking I/O

2000-03-06 Thread Titus von Boxberg
Daniel Eischen wrote: > > > Apparently it is not possible to shutdown those > > threads from a third thread, neither using close nor shutdown(2) for > > the socket I/O if the threads are blocked during read. > > > > What methods can one use to unblock such a blocked-on-read > > thread? > > The c

Pthread blocking I/O

2000-03-06 Thread Titus von Boxberg
Hi, I use two threads to do I/O for a process. The I/O takes place either on a socket or an I/O device (com port) file descriptor. Apparently it is not possible to shutdown those threads from a third thread, neither using close nor shutdown(2) for the socket I/O if the threads are blocked durin