CVS update: samba/source/include

Jean Francois Micouleau Jean-Francois.Micouleau at dalalu.fr
Tue Oct 16 17:18:03 GMT 2001


On Tue, 16 Oct 2001, Jeremy Allison wrote:

> Also, I'm not sure about the use of pause(), I think this needs
> to be a POSIX sigwait(), but I'll look into that.

my man 2 pause says: CONFORMING TO : SVr4, SVID, POSIX, X/OPEN, BSD 4.3

but you can change it to sigwait().

1) anyway it's a bit rough yet, I'll change the snum to the printername as
the snum is not constant across smbd process (think includes in smb.conf).
And there are place that need immediate lpq status.

2) I'll change the pause() to a sleep(lpq_timeout) and add some code to
periodically check the lpq status if we have been asked to. In the spoolss
open_printer() I'll add a message_send_pid(lpq_backend, MSG_PRINTER_POOL);

So we'll poll lpq status ;-)

	J.F.






More information about the samba-technical mailing list