Linux-Development-Sys Digest #30, Volume #8 Wed, 19 Jul 00 03:13:13 EDT
Contents:
Re: is there a port to windows media player? (Dave Blake)
Database Modeling Tools for Linux? (Thomas Gagne)
Re: is there a port to windows media player? (Ken Moffat)
Writing Device Drivers for Newer Kernels ("William F. Simmons")
how to build a new newsgroup ? ("owl00")
Re: how to build a new newsgroup ? (Kaz Kylheku)
Re: Programming giude for the network device drvier like an ethernet or adsl modem
(Kaz Kylheku)
Re: is there a port to windows media player? (Stewart Honsberger)
structure casting w/ (void *) (c++) (Bhavin Shah)
Re: structure casting w/ (void *) (c++) (Kaz Kylheku)
Initializing a shared library? (Dennis Bartley)
Re: embedded linux footprint size (Wolfgang Denk)
Special disk format request. (Steve Martin)
Drivers: read routine (Tony Sterrett)
Re: strange "mv" bug ([EMAIL PROTECTED])
Re: My own distribution ([EMAIL PROTECTED])
About some functions in x-windows ? ("jacky cui")
Re: My own distribution (Kevin Lacquement)
Re: [Handhelds] Linux may be abandoned for WinCE here. (lars brinkhoff)
OK for multiple processes block on accept() for a socket? (Michael Shell)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dave Blake)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: is there a port to windows media player?
Date: 19 Jul 2000 00:28:03 GMT
Reply-To: [EMAIL PROTECTED]
Stewart Honsberger <[EMAIL PROTECTED]> wrote:
> He only said that there are plenty of .asp only sources. I
> offered him an alternative. Since Microsoft isn't being very
> forthcoming in offering either a port of their product or the
> structs of their format, I'd just as soon abandon it completely
> in favour of something more open.
http://wmformatsdk.smdisp.net/rtm/
This is the media format software developer kit, of course a
Windows Executable. But it should provide adequate descriptions
of the media for the willing.
--
Dave Blake
[EMAIL PROTECTED]
------------------------------
From: Thomas Gagne <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Database Modeling Tools for Linux?
Date: Tue, 18 Jul 2000 20:35:58 -0400
Reply-To: [EMAIL PROTECTED]
Does anyone know of any modeling tools like Embarcadero's ER/Studio or CA's
ER/Win for Linux. I hate having to flip-flop between Linux and Windows just
to use a modeling tool. It's enough to make me look at VMWare...
--
For Open Source Middleware Visit http://home.netcom.com/~tgagne
------------------------------
From: Ken Moffat <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: is there a port to windows media player?
Date: Tue, 18 Jul 2000 18:08:38 -0700
Stewart Honsberger wrote:
> On 18 Jul 2000 21:00:34 GMT, Rick Ellis wrote:
> >
> >>Check http://www.shoutcast.com - you'll find literally hundreds of streaming
> >>MP3 servers.
>
> With the number of ShoutCast sites available, I'm sure he'll find something
> that suits his needs.
What app do I need to listen to these *.pls files?
--
Ken Moffat
[EMAIL PROTECTED]
------------------------------
From: "William F. Simmons" <[EMAIL PROTECTED]>
Subject: Writing Device Drivers for Newer Kernels
Date: Wed, 19 Jul 2000 01:32:40 GMT
Pete--
Thanks for taking the time to comment on my listing. Actually, Rick Ellis
had seen my listing and sent a short but incisive comment on it. You are
actually on the same track that he was.
Ahem, as might be expected of an applications programmer on his first
foray into kernel code, I mistakenly omitted the (I thought) trivial
"-c" option in my gcc invocation. So gcc was throwing itself headlong
at the code as if it were going to wind up a standalone executable.
Rick Ellis pointed out (in a letter he sent directly to me) that I
should be using the -c option. From your remarks, I gather that you
had a similar reaction.
Thanks again for taking the time to remark on my posting.
Willie
===============================================================================
William F. Simmons (Willie)
SIMTECH
Creators of dbops (Unix Shell Database Operators)
6427 Windfern
Houston, Texas 77040
U.S.A.
713/460-5921
[EMAIL PROTECTED]
www.simtech-soft.com
===============================================================================
------------------------------
From: "owl00" <[EMAIL PROTECTED]>
Subject: how to build a new newsgroup ?
Date: Wed, 19 Jul 2000 09:48:58 +0800
Hi experts,
Could anybody advise how to build a new newsgroup ?
Regards,
Owl
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: how to build a new newsgroup ?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 Jul 2000 01:52:02 GMT
On Wed, 19 Jul 2000 09:48:58 +0800, owl00 <[EMAIL PROTECTED]> wrote:
>Hi experts,
>
>Could anybody advise how to build a new newsgroup ?
And you want to do this by doing Linux kernel hacking, so naturally
you asked in comp.os.linux.development.system.
Seems like you are a little underqualified to be making new newsgroups,
given that you can't even pass the simple test of finding the right
newsgroup for a technical question.
--
#exclude <windows.h>
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Programming giude for the network device drvier like an ethernet or adsl
modem
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 Jul 2000 01:54:15 GMT
On Wed, 19 Jul 2000 09:07:50 +0900, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Dear All
>
>I am interested in the programming of the network device driver.
>If you have the related information to this, please let me know it or the
>URL....
The programming guide is in the kernel source code. There are so many network
drivers in the drivers/net directory, that it would be surprising if you could
not create a new one after reading a good number of them.
--
#exclude <windows.h>
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: is there a port to windows media player?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 Jul 2000 02:29:43 GMT
On 19 Jul 2000 00:28:03 GMT, Dave Blake wrote:
>> He only said that there are plenty of .asp only sources. I
>> offered him an alternative. Since Microsoft isn't being very
>> forthcoming in offering either a port of their product or the
>> structs of their format, I'd just as soon abandon it completely
>> in favour of something more open.
>
>http://wmformatsdk.smdisp.net/rtm/
>
>This is the media format software developer kit, of course a
>Windows Executable. But it should provide adequate descriptions
>of the media for the willing.
What format? Microsoft's .ASF format? From what I'd understood, they hadn't
released the specs.
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE 6.4, Linux 2.4.0-test4
------------------------------
From: Bhavin Shah <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: structure casting w/ (void *) (c++)
Date: Tue, 18 Jul 2000 19:33:20 -0700
Hi,
You programming pros. could probably help me out with this one.
If you cast a structure into a (char *) and pass it into a function
taking (void *), is it valid to cast it back to a (char *) and then
to the structure?
struct str
{
char a;
char b;
};
void f1(void *s)
{
char *t1 = (char *)s; // VALID?
str *t2 = (str *)t1; // then is this valid?
}
str *s1;
f1((char *)s1);
I tried this and t1 was blank. I would like to be able to see and
modify the structure in f1, but I can't change any of the prototypes.
Am I doing something wrong here? Is there another way to do it?
Thanks in advance.
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development
Subject: Re: structure casting w/ (void *) (c++)
Reply-To: [EMAIL PROTECTED]
Date: Wed, 19 Jul 2000 03:03:39 GMT
On Tue, 18 Jul 2000 19:33:20 -0700, Bhavin Shah <[EMAIL PROTECTED]> wrote:
>Hi,
>
>You programming pros. could probably help me out with this one.
>If you cast a structure into a (char *) and pass it into a function
>taking (void *), is it valid to cast it back to a (char *) and then
>to the structure?
In ANSI C, you cannot cast structures. Casts may only occur among
scalar types, and even then, not all combinations are allowed; e.g. you cannot
cast a floating point value to a pointer).
In C++, you can declare overloaded operators as member or non-member
functions; structs for which suitable operators exist
can be used in casts.
>
>struct str
>{
> char a;
> char b;
>};
>
>void f1(void *s)
>{
> char *t1 = (char *)s; // VALID?
Of course, conversion betwen char * and void * are valid.
> str *t2 = (str *)t1; // then is this valid?
This is not a cast involving a structure, but a pointer to a structure.
Yes, the cast is valid. However, the resulting pointer might not point
to an object that is suitably aligned, and suitably large, to represent
a ``struct str''.
>}
>
>str *s1;
>f1((char *)s1);
>
>I tried this and t1 was blank.
Well, what do you expect from undefined behavior? You have to initialize
an object before you can evaluate it, or demons may fly out of your
nose.
--
#exclude <windows.h>
------------------------------
From: Dennis Bartley <[EMAIL PROTECTED]>
Subject: Initializing a shared library?
Date: Tue, 18 Jul 2000 22:01:33 -0500
I'm trying to load a shared library from Java with JNI. It appears that
the C runtime isn't initialized properly. The first time I do a malloc
it seems to crash inside malloc. Is there any trick to getting the
library initialized on Linux platforms?
------------------------------
From: Wolfgang Denk <[EMAIL PROTECTED]>
Subject: Re: embedded linux footprint size
Date: Wed, 19 Jul 2000 00:58:04 GMT
"Mike" <[EMAIL PROTECTED]> writes:
>>On a board half the size of a credit card you can get the whole
>>PowerPC system (CPU, 64 MB RAM, 8 MB Flash, Ethernet, serial ports,
>>USB, LCD/VGA, CAn-Bus, ...) - that's more than enough for most cases.
>Where can I find those miniatyre cards capable to run Linux?
You can get them from us :-) The manufacturer is TQ Components,
Germany.
If you want to see some images, please see
http://www.denx.de/2BLT/gfx007.html
http://www.denx.de/2BLT/gfx008.html
[Sorry - the presentation is in German.]
Wolfgang
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Web: www.denx.de
All he had was nothing, but that was something, and now it had been
taken away. - Terry Pratchett, _Sourcery_
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Subject: Special disk format request.
Date: Tue, 18 Jul 2000 22:07:44 -0600
Hi All -
I have a special need to read 2D 3.5" floppies that have been written in
CP/M format. The formatted space shows 780K of free space on the CP/M
machine I'm using. I have looked for apps that might be able to help me
but I can only find them for MS-DOS. I have also tried running these
apps using VMWare loaded with DOS 5.0 with no success. I don't get any
error messages. When I issue the command to read the disk, the DOS
window just hangs and no "disk active" light appears. When I boot to
DOS though, the apps run just fine.
Would any of you fine folks be able to point me in the direction of a
CP/M disk format spec? Maybe someone knows the parameters I can use for
some utility where I can at least read the data from the disk and then
write some code to interpret the file structure.
Any help would be appreciated.
Some of you are probably wondering, "Why does this clown want to
resurrect a dinosaur?" Well, I would like to write an application for
some old manufacturing equipment we have at work so I can utilize Linux
in the work-place. This old equipment seems to never die. And as long
as it can do the job, management will never get rid of it. There all
business at work, you know; never any fun.
=======
Steve Martin, NR7P
[EMAIL PROTECTED]
------------------------------
From: Tony Sterrett <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel
Subject: Drivers: read routine
Date: Tue, 18 Jul 2000 23:00:33 -0700
Hi all:
Maybe some of you experience, compoent linux gurus
can help me with may driver problem. This code is mainly
taking from Rubini's O'Reilly LINUX device driver book.
I'm just trying to copy the string "test\0" into user land.
Here is the result:
./ct_main
ct_main: fd =3
buff 0 -> 0 buff 1 -> 0 buff 2 -> 0 buff 3 -> 0 buff 4 -> 0
ct_main:rec'd 5 bytes
So the return code is correct (5) but everything else is zeros.
Please copy any answers to [EMAIL PROTECTED]
Here's the driver side code :
read_write_t
ct_read (struct inode * inode, struct file * filp, char *buf,
count_t count)
{
struct ct_entry *entry;
struct ct_entry *last_entry;
int idx = 0;
int size,n;
int i;
char *test;
test = kmalloc (80, GFP_KERNEL);
test[0] = 't';
test[1] = 'e';
test[2] = 's';
test[3] = 't';
test[4] = '\0';
/* also tried &test[0] */
__copy_to_user((char *) buf , test,5);
printk ("ct_read: return value =%d\n",n);
/*kfree (test);*/
return 5;
}
Here's the user side code:
int
main (int argc, char **argv)
{
int fd, n,i,j;
int value;
fd = open ("/dev/ct_firewall", O_RDONLY);
if (fd < 0) {
perror ("main: can't open");
exit (1);
}
fsync(fd);
printf ("ct_main: fd =%d\n", fd);
for (i=0;i<1;i++){
n = read (fd, local_buff, 5);
/*local_buff[5] = 0; */
fsync(fd);
for (j=0;j<5;j++)
printf (" buff %d -> %hu ",j,local_buff[j]);
printf ("\n");
printf ("ct_main:rec'd %d bytes \n",n);
/* printf ("ct_main: %s\n",local_buff); */
if (n<0) perror ("ct_main:");
}
close (fd);
}
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: strange "mv" bug
Date: Wed, 19 Jul 2000 05:56:45 GMT
On Tue, 18 Jul 2000 16:02:17 GMT Kaz Kylheku <[EMAIL PROTECTED]> wrote:
[thorough analysis snipped]
|>I suspect a problem with the "mv" command, but I cannot imagine what
|>that could be.
|
| I think it's trying to reproduce links by actually relinking in the target
| directory rather than moving the link, but it is fumbled. That is
| to say, it seems to want to do:
|
| rename("f1", "d/f1");
| /* realize f2 is a link to f1 */
| link("d/f1", "d/f2");
|
| Perhaps there are filesystems out there where hard links cannot cross directory
| boundaries, so this algorithm is needed.
Or perhaps this. I found a bug in an old version of Dynix where getting
two processes to mv the same file to two different names would, instead
of having one of them win (the intent in my case was a primitive job lock
mechanism) it allowed a tie, resulting in a hardlink. I was able to easily
reproduce it, so being the curious type, I tried it on a directory, and
it did indeed give me a directory with two links to it. Ouch. Not having
root on that system, I had to go to who did, and he could not fix it. But
then I thought, what if the process worked in reverse? It did! I was
able to "mv" the two directories back into one :-) I could only imagine
the other bugs that it may have had (it had about 16 processors). I did
later find out that rename() was actually implemented as link() and remove()
syscalls. But for that to function, the underlying filesystem and kernel
had to allow non-root to hard link directories. Seemed to me like a bad
design for an SMP system to not have atomic operations.
Maybe the GNU algorithm was trying to deal with things like that, too.
--
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil (at) ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: My own distribution
Date: Wed, 19 Jul 2000 06:14:44 GMT
On Tue, 18 Jul 2000 22:40:37 GMT Kevin Lacquement <[EMAIL PROTECTED]> wrote:
| Mike Dowling wrote:
|> <SNIP>
|>
|> In a sense, I have always had my own distribution. I.e., I have never
|> used a distribution. The advantage for me is obvious; I know where
|> everything is and how it is configured.
| <SNIP>
|
| I've been thinking of doing this. One question, though. How do you get
| started without a distribution to compile stuff on?
The ole "new OS / chicken and egg problem" :-)
The next version of Linux is compiled on the previous version. The next
version of GCC is compiled with the previous version for the first pass.
But what if it's the very first version? You'll have to ask Linus where
he compiled 0.01, but it could have been on Minix, or some workstation
with a cross-compile (something GCC can do). New Linux platforms have
to be handled ina similar way.
Homework assignment:
Suggest where the very first operating system or compiler was compiled.
--
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil (at) ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]
------------------------------
From: "jacky cui" <[EMAIL PROTECTED]>
Subject: About some functions in x-windows ?
Date: Wed, 19 Jul 2000 14:37:18 +0800
I am reading a driver souce code , it is a X input device--touchscreen
driver.
In source code,I found some functions like this:
xf86GetToken( ... )
xf86PostButtonEvent( ... )
xf86ConfigError( ... )
....and more
I want to understand the meanings of those functions and their parameters.
where can i find references in linux or internet?
are those functions included in some x-windows library? where and which?
--
===============================
Best wish to you
http://home.etang.com/jackyeasy
OICQ:474007
Jacky
===============================
------------------------------
From: Kevin Lacquement <[EMAIL PROTECTED]>
Subject: Re: My own distribution
Date: Wed, 19 Jul 2000 06:54:46 GMT
[EMAIL PROTECTED] wrote:
<SNIP>
> Homework assignment:
> Suggest where the very first operating system or compiler was compiled.
Hand-compiling is fun....if you know the Marquis de Sade (sp).
Seriously, I think that's where it started. I know some (insane) people
who can actually hand-compile code, and do on occasion. If you were to
hand-compile a _very_ simple compiler (no error checking, very simple
language), you could use that to compile something a bit more complex,
until you have something like gcc. I think OS's you can do the same
way. On an old computer, hand-compile and toggle it in on the front
panel. Have that run your new compilers...eventually you have something
(vaguely) usable.
Cheers,
Kevin
------------------------------
From: lars brinkhoff <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.advocacy
Subject: Re: [Handhelds] Linux may be abandoned for WinCE here.
Date: Wed, 19 Jul 2000 06:51:31 GMT
*** I'd be very interested in hearing about work done by others ***
*** to reduce the size of Linux. I already know about Graham ***
*** Stoney's CONFIG_MESSAGES and dead function optimisation ***
*** patches. ***
Wallace Owen wrote:
> Can anyone tell me what files in the Linux kernel have data
> declarations whose dimensions can be safely reduced? My efforts
> at producing a small kernel have got the code segment down below
> half a meg, but the data segment is 1.5 megabytes.
I started a port of Linux 2.3.99 to our MIPS R3000-ish device (IDT
RC32064, really). This device usually has 2M flash and 4M RAM.
To reduce the size of the text and data sections, I sorted the output
of the "size" command and investigated the files with the largest
sections.
These are the memory-saving changes I arrived at. They are not really
tested, so some of them may break some functionality.
fs/dcache.c
Changed HASH_BITS from 14 to 8. This reduces the size of the
cache from 128K to 2K.
fs/inode.c
Changed HASH_BITS from 14 to 8. This reduces the size of the
cache from 128K to 2K.
include/linux/blk.h
Changed NR_REQUEST from 256 to 16. This reduces the number of
requests that can be queued. The size of the queue is reduce
from 16K to 1K.
include/linux/major.h
Changed MAX_BLKDEV and MAX_CHRDEV from 256 to 10 and 20,
respectively. This reduces the number of block and character
devices and saves about 40K.
kernel/printk.c
Changed LOG_BUF_LEN from 16384 bytes to 2048 bytes.
include/linux/tty.h
Changed NR_PTYS and NR_LDISCS from 256 and 16, respectively,
to 16 and 4, respectively. Saved about 12K.
Warning: this change may break the pty driver, in which
case further modifications will have to be done to
drivers/char/pty.c.
kernel/panic.c
Changed a buffer from 1024 bytes to 200 bytes.
include/linux/sched.h
Changed PIDHASH_SZ from 1024 to 16, which saves
1008 bytes.
arch/mips/kernel/entry.S
(Has 21184 bytes of data which might be trimmed?)
include/linux/mmzone.h
NR_GPFINDEX from 0x100 to 0x10. Saves 4800 bytes,
but I'm not sure it doesn't break anything.
net/Makefile, net/socket.c, net/nosocket.c
Replacing socket.c with nosocket.c, a file containing
dummy replacement functions for those in socket.c, saves
about 24K.
Warning: this disables the socket API entirely, but it
is currently not used in our product.
net/Makefile, net/network.a, net/core
Excluding net/core/core.o from net/network.a doesn't save
anything. I guess core.o isn't referenced by anything
in the rest of the kernel (except maybe socket.c, see
above).
mm/Makefile, mm/swapfile.c, mm/swap_state.c, mm/noswapfile.c, mm/noswap_state.c
Replacing swapfile.c with noswapfile.c, and swap_state.c with
noswap_state.c saves about 12K. The no*.c files contains empty
replacement functions.
Warning: this disables swapping of anonymous memory, which isn't
used in our product. But note that demand paging of executables
still works.
mm/Makefile, mm/mmap.c
The functions in mmap.c could probably also be replaced by
empty functions. Estimated saving: 9K (not included in the
grand total below).
*, CONFIG_MESSAGES
Applying the CONFIG_MESSAGES patch and disabling all
kernel messages saves about 80K.
The CONFIG_MESSAGES patch was written by Graham Stoney
<[EMAIL PROTECTED]>.
With all of the above, and only this enabled in .config:
CONFIG_EXPERIMENTAL=y
CONFIG_CPU_R3000=y
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_ELF_KERNEL=y
CONFIG_BINFMT_ELF=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_CROSSCOMPILE=y
, the kernel is down to about 550K.
Here is the output of "size vmlinux". I think this is without the
CONFIG_MESSAGES patch (it was many months since I worked with this).
text data bss dec hex filename
572128 41964 15860 629952 99cc0 vmlinux
------------------------------
From: Michael Shell <[EMAIL PROTECTED]>
Subject: OK for multiple processes block on accept() for a socket?
Date: Wed, 19 Jul 2000 02:58:27 -0400
Hello,
I have been reading W. Richard Steven's wonderful Unix Network
Programming
books. (He died last year and will be sadly missed).
At anyrate, the book describes a preforked TCP/IP server in which many
children
are spawned and all block on an accept() to handle clients from a single
listen() socket.
Now, there is the "Thundering herd" problem where they ALL wake up and
only one
gets to service the request, the rest go back to sleep. Nevertheless,
overhead of this server is
shown to be less than the other compared architectures. For heavy loads
and
lots of busy children, the waking up of the spare servers may not be
such a big thing
and locking does involve overhead. There is a wake_one() function in
some UNIX
kernels, but I heard it is hard as hell to code into the Linux kernel.
BSD allows many processes to block on accept() on the same listen()
socket.
SVR4 does not.
Does Linux?
There seems to be some talk of this on the kernal mailing lists back in
1997, but
I can find no more info about it. Apache uses this architecture when it
can, but resorts to
locks around the accept()'s when it must. A look at Apache's (1.3.9)
source code, shows that
they use multiple blocking accepts() when they can. Furthermore, Linux
seems to require
fcntl() locks around the accepts. Say it ain't so!
// Apache exerpt:
/* On some architectures it's safe to do unserialized accept()s in the
single
* Listen case. But it's never safe to do it in the case where there's
* multiple Listen statements. Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT
* when it's safe in the single Listen case.
*/
#ifdef SINGLE_LISTEN_UNSERIALIZED_ACCEPT
Do the newer Linux kernels still require locks around the accept()'s?
BTW, if anyone hapens to know, any plans to support POSIX Semaphores in
shared
memory via sem_init():
Man exerpt for 2.2-14 kernel:
>LinuxThreads currently does not support process-shared semaphores,
>thus sem_init always returns with error ENOSYS if pshared is not
zero.
I know the new kernels allow mmap() to be used with SHARED *and*
ANONYMOUS,
I wonder if we can use sem_init with shared memory now.
Where can I find info like this on the web besides digging through
archives?
Thank you in advance,
Mike Shell
[EMAIL PROTECTED]
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************