Linux-Development-Sys Digest #540
Linux-Development-Sys Digest #540, Volume #8 Mon, 5 Mar 01 00:13:13 EST Contents: virtual ring buffer - Was: double mmap calls ([EMAIL PROTECTED]) Re: New OS want ("Gene Heskett") Re: New OS want (Kasper Dupont) Re: Is there a time() with millisecond or better resolution? (Kasper Dupont) hi,Does anyone study Linux source code? I have a basic problem. ("hushui") Re: dynamic Libraries ("Peter T. Breuer") Re: Can linux be trusted? (Lars Duening) Re: Can linux be trusted? (Jem Berkes) Re: dynamic Libraries (Paul Kimoto) Private functions in shared library? (Roger Leigh) Re: Private functions in shared library? ("Arthur H. Gold") Re: Can linux be trusted? ("Gene Heskett") Re: Can linux be trusted? ("Nick J Chackowsky") Re: Private functions in shared library? ("Peter T. Breuer") Re: decrease the cache size? ("N. G.") measure the time for an IDE operation ("Peng, Gang") Re: Private functions in shared library? (Kaz Kylheku) Re: How to process a serial stream and publish as a web page? ("D. Stimits") Re: linux 2.4.2+loop (Daniel Franklin) From: [EMAIL PROTECTED] Subject: virtual ring buffer - Was: double mmap calls Date: Sun, 04 Mar 2001 10:10:13 - On Thu, 18 Jan 2001 23:39:00 - I originally posted the question: | Does Linux support double mmap calls where a 2nd mmap() can be used | to overlay an existing memory map to another address? I tired of | following all the calls through from sys_mmap() to see if it does | or not (got pretty deep, but nothing obvious one way or the other). ... and got a lot of useful answers. Thanks! I just wanted to let anyone interested in what I was doing with all that know that I have now released working code in the form of a library called "vrb" for "virtual ring buffer". The API keeps the buffer somewhat abstract, but it allows the caller to directly access the buffer via returned pointers (actually implemented as rather simple macros) and lengths. The double mapping technique allows the whole available space or the whole data content to be viewed as a contiguous block regardless of where in the ring buffer state the space or data is located. This eliminates extra copying of data and almost all wraparound testing. Data can be read() into and write() from the buffer directly, if desired. It also allows a caller or environment choice whether to use a temporary file or the SysV shared memory (environment not used if running as root, for security reasons). Oh, the starting URL is: http://freshmeat.net/projects/vrb/ -- = | Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ | | [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ | = -- Date: 4 Mar 2001 4:44:3 -0500 From: "Gene Heskett" <[EMAIL PROTECTED]> Subject: Re: New OS want Gene Heskett sends Greetings to Steve Wrochna; SW> wow thats pretty impressive but i was talking more along the SW> lines of systems for the common person. and besides being a SW> windows NG i think it is safe to say that all here would love a SW> comp that booted in half the time SW> (well half would be a good start!) SW> if you find the url would you mind posting it i would love to SW> take a look at it. SW> steve There is such a utility for the old commode-door amiga's. It takes a snapshot of the machine state and makes a disk file out of it, then at reboot time, loads this snapshot and restores the machine to the snapshot state, about 2 seconds for a machine with only 8 megs I'm told. I have 64 megs of 32 bit wide fast alone in this one. The disadvantage of course is that if it doesn't want to boot, only a floppy boot can get it going again. There are folks using it, but this old machine has had so many hacks added that the horror stories have scared me off. Cheers, Gene -- Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 500mhz email gene underscore heskett at iolinc dot net #Amiga based X10 home automation program EZHome, see at:# <http://www.thirdwave.net/~jimlucia/amigahomeauto> This messages reply content, but not any previously quoted material, is © 2001 by Gene Heskett, all rights reserved. -- -- From: Kasper Dupont <[EMAIL PROTECTED]> Crossposted-To: com.sys.hp.hpux,comp.sys.sun.admin,comp.os.ms-windows.misc Subject: Re: New OS want Date: Sun, 04 Mar 2001 12:25:05 + Steve Wrochna wrote: > > wow thats pretty impressive but i was talking more along the lines of > systems for the common person. and besides being a windows NG i think it is > safe to say that all he
Linux-Development-Sys Digest #540
Linux-Development-Sys Digest #540, Volume #6 Sat, 27 Mar 99 22:14:14 EST Contents: Re: G200 Suport.. (Jan Wielemaker) Re: NT has IOCompletionPort() (Andi Kleen) Debugging pthread based apps with gdb (pmueller) Re: Free IDE for developing under Linux ("Jan M. Hochstein") Re: Debugging question. (Michael Hirsch) Re: what "rc" scripts exist for linux? (david parsons) Re: Security issues (Martin Maney) Re: Devloping Linux apps on NT? (Peter Pointner) Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0 (Johan Kullstam) Talkd (Roy Galloway) bootsect.S - What assembler to use to assemble ([EMAIL PROTECTED]) Re: Free IDE for developing under Linux (David M. Cook) Re: Devloping Linux apps on NT? (Erik Olson) Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. ("FM") Kernel build problem (John Bullock) Re: Kernel build problem (Ajit Krishnan) Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (Alexander Viro) Re: Security issues (Michael Schuerig) Re: Free IDE for developing under Linux (Magnus Ahltorp) Re: Programming tools for Linux/Unix: Editor, IDE, Frontend to GCC. (David M. Cook) From: [EMAIL PROTECTED] (Jan Wielemaker) Subject: Re: G200 Suport.. Date: 27 Mar 1999 16:17:28 GMT In article <7dh79j$tku$[EMAIL PROTECTED]>, Riacardo wrote: > I am hanving trouble fiding suport or drivers for my new Matrox G200 AGP >on Red Hat 5.2. Runs like a charm using SuSE 6.0 on the svga server, but support was announced as new for 6.0. Guess you need the very latest svga server. Regards --- Jan ~ Jan WielemakerAuthor of SWI-Prolog and the XPCE GUI library SWI, University of Amsterdam http://www.swi.psy.uva.nl/projects/SWI-Prolog/ E-mail: [EMAIL PROTECTED]http://www.swi.psy.uva.nl/projects/xpce/ -- From: Andi Kleen <[EMAIL PROTECTED]> Subject: Re: NT has IOCompletionPort() Date: 27 Mar 1999 18:25:06 +0100 [EMAIL PROTECTED] (Steve Peltz) writes: > In article <[EMAIL PROTECTED]>, Andi Kleen <[EMAIL PROTECTED]> wrote: > >"jacob" <[EMAIL PROTECTED]> writes: > >Linux 2.2 supports queued POSIX realtime signals that carry a long > >of information. You can send them between threads. You need glibc 2.1 > >for the necessary include files. > > It isn't a good idea to depend on being able to send signals between threads. > > For threads, use either a mutex or a condition variable. Then tell that the POSIX comittee which put pthread_kill/pthread_sigmask et.al. into 1003.1c. Admittetly LinuxThreads has a non standard signal handling, but it is usually possible to work around these differences without too many problems. Every conforming pthreads implementation has to implement pthread_kill ! -Andi -- This is like TV. I don't like TV. -- From: pmueller <[EMAIL PROTECTED]> Subject: Debugging pthread based apps with gdb Date: Sat, 27 Mar 1999 19:59:46 +0100 Hi, i have some problems debugging a multithreaded (pthreads) application (sigusr1, no breakpoints possible in a thread). Can anyone point me to a doc that describes how to do this? I found some hints that a patched gdb is necessary. But i was not able to built it. Is there a pre compiled binary for i386/glib2 based linux systems available? Peter -- From: "Jan M. Hochstein" <[EMAIL PROTECTED]> Subject: Re: Free IDE for developing under Linux Date: Sat, 27 Mar 1999 20:24:26 +0100 Christoph Lindner wrote: > I´m just a beginner in programming under linux now. > > But I want to start coding under Linux in C or C++ > and I´m looking for a free compfortable IDE to do so. > > I´ve programmed some very small app. yet by > using xemax, saving the .cc file and starting the gcc > from command line. > What I need is a easy to use tool to generate the makefile > for larger projects by itself, to generate ressources and so on. > > How do you guys manage large projects ? > > At the moment I use the Code Warrior under NT. Take a look at http://www.cs.utexas.edu/users/baron/development.html. I never use resources (dialogs, menues etc) in C/C++. Java is easier for X-programming. -- From: Michael Hirsch <[EMAIL PROTECTED]> Subject: Re: Debugging question. Date: 25 Mar 1999 22:50:44 -0500 Modemch <[EMAIL PROTECTED]> writes: > Christopher Hess <[EMAIL PROTECTED]> writes: > > > A quick-and-dirty method is to just run your program in gdb and let it > > segfault. Then do > > a 'where' to dump your stack. This may help to find the function/line number >