Modifying msgrcv() and msgsnd()

2000-11-09 Thread Bjorn Tornqvist
between pthread contexts; with FreeBSD 5.0 this fix probably won't be necessary (but still nice to have though). And besides, I'd get paid to contribute to the project! =) Greetings, Bjorn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Howto profile my code?

2000-07-31 Thread Bjorn Tornqvist
ib -pthread MessageCenter.o: In function `MessageCenter::OpenNewInput(basic_string, __default_alloc_template >)': MessageCenter.o(.text+0x954): undefined reference to `mexitcount' (one error per method, of cource) What library should I link with? How do I use it? Documentation?

Re: BSD,Posix,Linux Threading - Are they really useable?

2000-07-31 Thread Bjorn Tornqvist
be used to control concurrent processes), and that can be shared between processes using pthreads? pthread_mutex_init is local to a process and thus of little use. (FYI: The application my company is developing consists of several processes, all of which must have a couple of worker threads). TIA, Bjorn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

BSD,Posix,Linux Threading - Are they really useable?

2000-07-27 Thread Bjorn Tornqvist
with another won't give a corefile). Please help me with this one. //Bjorn Tornqvist, West Entertainment Solutions & Technologies AB To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

SCHED_RR(root only!?) vs SCHED_FIFO(any user!?)

2000-07-20 Thread Bjorn Tornqvist
*must not* run as root (there is no need for it to) but I also *must have* Round-Robin scheduling for overall system (application) stability and availability. Please help! (And, [EMAIL PROTECTED] doesn't respond to my subscribe requests so please reply in private) //Bjorn pthread_attr

Re: UTC time in crontabs

2000-01-10 Thread Bjorn Danielsson
"Daniel C. Sobral" <[EMAIL PROTECTED]> wrote: > Bjorn Danielsson wrote: > > > > I have made a small patch (about 10 lines of code) to "cron" that lets > > people choose between localtime and gmtime for their crontab entries. > > The choi

i82802 Random Number Generator Patch

2000-01-08 Thread Bjorn
s the /dev/random semantics slightly as the bitpool never run out of fresh bits. Hopefully somebody finds it usefull :-). I do. BTW, the patch is against the REL-3.3 kernel and x86-only. /Bjorn diff -Nru sys.orig/i386/conf/files.i386 sys/i386/conf/files.i386 --- sys.orig/i386/conf/files.i386

Re: SYM driver saves the day (where NCR driver crashes)

2000-01-05 Thread Bjorn Danielsson
yeah I already knew that). The main thing is, it works! Happy happy joy joy :) -- Bjorn Danielsson KTHNOC / Swedish University Network (mail me for my real e-mail address) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

UTC time in crontabs

1999-12-20 Thread Bjorn Danielsson
I have made a small patch (about 10 lines of code) to "cron" that lets people choose between localtime and gmtime for their crontab entries. The choice is made depending on the setting of an environment variable in the crontab file. The cost is a factor 2 for the tiny amount of work that cron does

Re: Resolv.conf question

1999-12-17 Thread Bjorn Danielsson
Jim Durham <[EMAIL PROTECTED]> wrote: > The 3.3 Box is a local server on a disconnected LAN talking > to a "remote" server that spools mail, which is grabbed by > fetchmail. We are running PPP on-demand to the external > server via a dial-up to an ISP. However, PPP only holds the > line up from 8a

Re: PCI DMA lockups in 3.2 (3.3 maybe?)

1999-12-15 Thread Bjorn Danielsson
I have had similar problems (with 3.3-RELEASE), and yesterday I tried the ncr.c from 4.x but unfortunately it didn't help. My system crashed after 26 hours, with instruction pointer == random page fault address. The machine is a Compaq Proliant 1850R with 640M RAM and a "ThunderLAN" (tl) network