Re: Question regarding the array of size 0.

2001-03-20 Thread Johan Danielsson
John Franklin <[EMAIL PROTECTED]> writes: > > Not in C. > > Actually you can (see below). No you can't. This is from C99: 6.7.5.2 Array declarators Constraints In addition to optional type qualifiers and the keyword static, the [ and ] may delimit an expression or *. If they delimit an expr

Re: Question regarding the array of size 0.

2001-03-20 Thread Johan Danielsson
Shankar Agarwal <[EMAIL PROTECTED]> writes: > Can someone pls tell me if it is possible to define an array of size > 0. No, but you can with gcc. /Johan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Writing a multithreaded daemon process

2000-02-07 Thread Johan Danielsson
Zhihui Zhang <[EMAIL PROTECTED]> writes: > The RX part seems to deal with RPC. I do not see the reason why it > can improve performance. Eh, what do you think is moving the bits to and from your fileserver? For cached (non-network) accesses, arla is just slighly slower than FFS. /Johan To Un

Re: Writing a multithreaded daemon process

2000-02-07 Thread Johan Danielsson
Zhihui Zhang <[EMAIL PROTECTED]> writes: > If the daemon can somehow reside entirely inside the kernel, like > NFS daemon, we can save those crossings. Yes, but the whole point of having the daemon in userspace is that it's *so* much easier to maintain. If you want to work on performance, I sugg