Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Dvir Volk wrote about Re: Why not using global variables considered thread-safe ?: On a 1-CPU machine, when you have global variables such as ints or floats, isn't reading and writing them atomic, and needs no locking? what are the general rules this issue? This is a

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Oleg Goldshmidt wrote about Re: Why not using global variables considered thread-safe ?: On a 1-CPU machine, when you have global variables such as ints or floats, isn't reading and writing them atomic, and needs no locking? Absolutely not! 1) It is not just

Re: Who wants the admin password for the OpenSVN linuxisrael repository?

2004-11-03 Thread Shlomi Fish
On Tuesday 02 November 2004 18:08, you wrote: Hi all! I opened a repository at opensvn.csie.org for Israeli Linux activities. At the moment I'm the only one who has the admin password, but I wish that at least someone else will have it as well. So if you want it please say so. The

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt
Nadav Har'El [EMAIL PROTECTED] writes: On Wed, Nov 03, 2004, Oleg Goldshmidt wrote about Re: Why not using global variables considered thread-safe ?: On a 1-CPU machine, when you have global variables such as ints or floats, isn't reading and writing them atomic, and needs no locking?

Re: Who wants the admin password for the OpenSVN linuxisrael repository?

2004-11-03 Thread amos
I might have a use for such a server for a project I'd like to share on the net (a-la sourceforge but with SVN). A tcptraceroute shows that it's located in Taiwan. Is it a reliable server with reliable conneciton? Is it praticle to relay on it? Thanks, --Amos Shlomi Fish wrote: On Tuesday 02

Re: max user processes

2004-11-03 Thread Ben-Nes Michael
On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote: Ben-Nes Michael [EMAIL PROTECTED] writes: Hi All how do i raise the parameter of max user processes ? # ulimit -a max user processes(-u) 256 setrlimit(2) How do I make it a default value

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Shachar Shemesh
Oleg Goldshmidt wrote: [1] even primitive types wider than int, such as long and double; AFAIK Java manuals specifically warn that there is no atomic access to longs and doubles unless you declare them volatile. On the 68000 all datatypes are 8, 16 or 32 bits wide. The actual bus,

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Shachar Shemesh wrote about Re: Why not using global variables considered thread-safe ?: Oleg Goldshmidt wrote: [1] even primitive types wider than int, such as long and double; AFAIK Java manuals specifically warn that there is no atomic access to longs and

Re: max user processes

2004-11-03 Thread Oleg Goldshmidt
Ben-Nes Michael [EMAIL PROTECTED] writes: On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote: Ben-Nes Michael [EMAIL PROTECTED] writes: Hi All how do i raise the parameter of max user processes ? # ulimit -a max user processes(-u) 256

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Shachar Shemesh
Nadav Har'El wrote: When a single-CPU machine does a context switch, it doesn't do it in the middle of a machine instruction, it does it afterwards. This sentance is not universally true, though I don't have details of contradicting examples on hand. Yes, astonishing as it may sound, some CPUs

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt
Here is another potential issue: http://www.lambdacs.com/cpt/MFAQ.html#Q156 In any case, the whole point is moot: one should *never* write code that will only execute correctly on a single-CPU system and break on SMP. -- Oleg Goldshmidt | [EMAIL PROTECTED]

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Omer Zak
On Wed, 3 Nov 2004, Shachar Shemesh wrote: Nadav Har'El wrote: When a single-CPU machine does a context switch, it doesn't do it in the middle of a machine instruction, it does it afterwards. This sentance is not universally true, though I don't have details of contradicting examples on

Re: max user processes

2004-11-03 Thread Yedidyah Bar-David
On Wed, Nov 03, 2004 at 01:43:46PM +0300, Ben-Nes Michael wrote: On 02 Nov 2004 11:06:12 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote: Ben-Nes Michael [EMAIL PROTECTED] writes: Hi All how do i raise the parameter of max user processes ? # ulimit -a max user

AS or ES, is there a difference or is it BS?

2004-11-03 Thread Ira Abramov
Hello friends. Today I have a question on proprietery software, namely Red Hat. I'm in Turkey, installing an Oracle RAC cluster on two Red Hat machines. the guy ordered RHEL 3 AS but until it arrives in the mail (Dell does not support Emailing licence keys) I installed it on 3 ES because those

messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Who is maintaining the linux-il archives at Hamakor? Some messages have only This message has been deleted from the archive in the body. Examples from today's thread: http://mirror.hamakor.org.il/archives/linux-il/11-2004/12456.html

Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Maxim Vexler
By the way, is there any way to search the archives? There is another mirror for linux-il as linked by IGLU, it also has a search function (quite useful too) :) http://www.mail-archive.com/[EMAIL PROTECTED]/ On 03 Nov 2004 16:01:49 +, Oleg Goldshmidt [EMAIL PROTECTED] wrote: Who is

messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Who is maintaining the linux-il archives at Hamakor? Some messages have only This message has been deleted from the archive in the body. Examples from today's thread: http://mirror.hamakor.org.il/archives/linux-il/11-2004/12456.html

RE: Why not using global variables considered thread-safe ?

2004-11-03 Thread Hyams Iftach
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 application

Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Maxim Vexler [EMAIL PROTECTED] writes: By the way, is there any way to search the archives? There is another mirror for linux-il as linked by IGLU, it also has a search function (quite useful too) :) http://www.mail-archive.com/[EMAIL PROTECTED]/ Thanks. The missing message problem

Re: Why not using global variables considered thread-safe ?

2004-11-03 Thread Oleg Goldshmidt
Hyams Iftach [EMAIL PROTECTED] writes: There are test-and-set instructions Those are normally atomic - that's their whole point, isn't it? Keep in mind that application for the common desktop could safely assume one CPU but Intel's hyper threading technology break that founding. The OS

Re: AS or ES, is there a difference or is it BS?

2004-11-03 Thread Tzafrir Cohen
On Wed, Nov 03, 2004 at 03:12:59PM +0200, Ira Abramov wrote: Hello friends. Today I have a question on proprietery software, namely Red Hat. I'm in Turkey, installing an Oracle RAC cluster on two Red Hat machines. the guy ordered RHEL 3 AS but until it arrives in the mail (Dell does not

Re: AS or ES, is there a difference or is it BS?

2004-11-03 Thread Lior Kesos
Well AS ES WS segmentation is mainly a marketing issue. AS simply has more packages in them but if you check you'll see that they'll work on an ES or WS as well. They share the same kenel rpms. These are the kernels in AS3 and ES3: kernel-2.4.21-4.EL+1065219896.i686.rpm

Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Oleg Goldshmidt
Eran Tromer [EMAIL PROTECTED] writes: Rejoice! Hypermail is merely respecting an X-No-Archive: Yes header (unlike, for example, Uri Sharf's archive of [EMAIL PROTECTED] at linmagazine.co.il). Live and learn... I didn't know it existed. Shall I consider it a useful tip from a distinguished

Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Nadav Har'El
On Wed, Nov 03, 2004, Eran Tromer wrote about Re: messages disappearing from hamakor linux-il archives: On 11/03/2004 05:46 PM, Oleg Goldshmidt wrote: Who is maintaining the linux-il archives at Hamakor? Some messages have only This message has been deleted from the archive in the body.

Re: messages disappearing from hamakor linux-il archives

2004-11-03 Thread Herouth Maoz
On Wednesday, Nov 3, 2004, at 19:30 Asia/Jerusalem, Nadav Har'El wrote: I wonder why it should respect this sort of header. Using a mailing list is a bargain you make. You gain publicity to what you write, and for it you lose privacy. That's right: you can't have publicity *and* privacy at the

adding bidi support

2004-11-03 Thread Aaron
Hi all, I have been doing music notation with lilypond (www.lilypond.org) for a number of years. With the help of this group and ivrex as well as the lilypond users group I was able to acheive hebrew support for lilypond.http://www.geocities.com/aamehl/ However the effort is less than robust.

Re: Bad sectors

2004-11-03 Thread Skliarouk Arieh
Hello, The hangup is due to IDE device not returning answers (only seems there is an error notifications) and kernel having to wait for real error to come back. The IDE bus the device is connected to, is blocked as well (as not on FireWire or SCSI buses). You can use dd_rescue (with big