sys/kern/tty.c ttnread(tp) logic question

2001-04-15 Thread John W. De Boskey
Hi, I've been reviewing parts of the tty driver and ran into a very basic question which I am unable to find an answer for. The function ttnread(): static int ttnread(tp) struct tty *tp; { int nread; if (ISSET(tp->t_lflag, PENDIN)) ttypend(tp);

pthreads vs set/longjmp performance (homegrown tasking)

2001-07-04 Thread John W. De Boskey
Hi, I have an application which uses a homegrown tasking mechanism. Basically, it uses setjmp/longjmp where the stackpointer is modified after the setjmp and before the longjmp. This allows multiple 'tasks' to run (serially) within the process with each having a different stack allocation.

Re: PCMCIA-ATA/USB support for SanDisk/Digital Cameras

1999-12-23 Thread John W. De Boskey
Hi, Many thanks for the pointer! I'm going to give this a try. It looks like it will be a great solution... For those interested, I borrowed a friends SanDisk unit and plugged it into a FreeBSD-current box with usb enabled (along with all the debug features). The following is the appropri