Title: RE: Why not using global variables considered thread-safe ?
There are test-and-set instructions for example :
68000 has "tas", SPARC has "ldstub" etc.
Upon return the value is set to the address. The return value varies - if the value really changes or not.
Keep in mind that applicati
Title: IDE ZIP drive (100MB) for free
Impress your friends :
* First hand from a doctor.
* Including media.
* IDE cable included (work both as master and as slave).
* No need for drivers.
* For extra flatters you can get an adapter for a 5.25 bay.
This e-mail message has been sent by
E
Title: Optimized NFS
(Fedora core 1, intending to put G-Ethernet PLANET ENW-9605)
1) I know the NFS server support V.3 but how can I tell the maximal
packets it support ? (Over UDP) Is it a kernel thing or export flag ?
2) Does anyone has experience with that card ? Does it support
Jumbo p
Title: RE: pthrread question.
1) The global variable operation is atomic so you can do without a mutex (at least with one CPU).
You should add a volatile prefix (to the declaration or at least during access).
2) It is hard to know what the IO does. Either fill a static array to see real beh
Title: Spam in the list :
Few thoughts :
--
1. EULA in the registration can be a good idea.
2. Since it is somewhat technical list, a simple questionnaire from a pool of question
is likely to discourage most of spammers, something like :
What is your favorite text manipul
Title: RE: Scripting inside Makefile
>> This makes every file in LIST1 and LIST2 dependent on every
>> file in LIST. Thus, make will regenerate fooCDU_1baz.c
>> whenever barCDUbaz.c is touched. I think...
True, but I don't care. Usually the original are not modified
and when they do, proba
Title: RE: Scripting inside Makefile
The formed solution:
LIST = $(wildcard *CDU*)
LIST1 = $(subst CDU,CDU_1,$(LIST))
LIST2 = $(subst CDU,CDU_2,$(LIST))
all: $(LIST1) $(LIST2)
$(LIST1): $(LIST)
sed -e "s/CDU/CDU_1/g" $(subst CDU_1,CDU,$@) > $@
$(LIST2): $(LIST)
sed
Title: Scripting inside Makefile
I need a portable script that can be automatically executed during build (old system - make 3.74).
Suppose I can't make others to upgrade their utilities (shell, sed, make ...) so no new features
are allowed.
The source is a directory with many files, all hav
Title: RE: [OT] FTP question
>> How about libcurl ?
libcurl is fine. What I am looking for is simple code
that uses bare sockets, and not intermediate layer.
This e-mail message has been sent by
Elbit Systems Ltd.
and is for the use of the intended
recipients only.The message may con
Title: [OT] FTP question
Hello list,
I need a simple code for reading from FTP server into RAM
(no file). Is it possible to read part of a file (like random
access) in passive mode ?
The problem is most of the sources are very complex - each
function resident in different file \ directory, m
Title: RE: [OT] Learning CS
There was this student that shifted from the Technion the BGU
is the third semester. The average level in both universities raised.
It is a good idea to see the markets (=employers) point of view. It
is more marketing issue then technical but there is an hierarchy
Nice carpentry.
Console mode is fine (freshmeat give > 10 MP3 players, some
of them interactive).
The problem is during installation - most distro's need 32MB
even for text mode install. As you remember, mine has 16.
Tnx
This e-mail message has been sent by Elbit Systems Ltd.
and is for the us
The platform is Pentium 166 Laptop with 16MB.
The mission - hook it to the stereo in the living room to
play MP3 collections.
Graphical interface is very desirable.
Thank you,
Iftach
This e-mail message has been sent by Elbit Systems Ltd.
and is for the use of the intended recipients on
In it can be a good idea to write your own #ifdef
or #defines or wrapping functions. It is quiet similar
(I wrote a complex UDP application that compiles on 4
different OS's so contact me privately for details).
The differences are in some types, errors and IOCTL's.
Note that Windows 2000 has a
The idea of using watchdog timers work very well since those are
usually accessed directly (just map the memory over PCI or whatever
bus you have).
Those timers start the countdown once they set an initial value and
then you have to set them all along the life cycle. One have to estimate
the time
15 matches
Mail list logo