Hi,
Threads on Linux are a lot different from other OSes.
1) Linux threads are NOT kernel level threads but user
level threads. That means while the thread is running
in a multithreaded program, the kernel DOES NOT know
whether a process is running or a thread is running.
2) Though linux supports a lot of mechanisms
absolutely essential for multithreaded mechanisms like
mutexes, spin locks; it still has a lot of problems as
far as porting of multithreaded applications to Linux
is concerned.
3) While other TRUE UNIXes like SUN SOLARIS, DEC UNIX,
HPUX have support for recognizing mutexes across the
process boundries, becoz of the abv mentioned
limitations, Linux cannot recognize them. So
multithreaded multiprocessing application written for
Solaris might not compile on Linux.
4) SOme pointers on Linux threads: go to redhat.com
and give query "PORTING SOLARIS THREADS". There are
some nice white papers published which describe the
limitations of Linux threads.
--- Manish Jethani <cruisecoder(a)yahoo.com> wrote:
> What's the bad thing about threads on Linux? How is
> multi-threading on Linux different from other OSes?
>
> Tnx.
>
> Manish
>
> --
> A billion here, a billion there -- pretty soon it
> adds
> up to real money.
> -- Sen. Everett Dirksen, on the U.S. defense budget
>
>
> _______________________________________________
> Next Online IRC LUG Meet on 31st Aug @ 4:30pm
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
>
=====
rgds,
Aditya N.
----------------------
Junior Research Fellow,
Department of Computer Science & Engineering,
Indian Institute of Technology, Powai,
Mumbai, 400076.
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Sameer asked :
> Well, such directory does not exist in Debian. I had to specify the
> settings in /etc/environment, then logout and login again. That put the
> correct locale settings. Is there any way of doing this without logging
> out of the current session?
just do "source .bashrc" or ". .bashrc"
^ notice the dot!
Fart
I have kernel 2.4.7 and 2.4.9, XFree86-4.0.3
Under 2.4.7, X runs perfectly, under 2.4.9, it refuses to start up,
giving me a DMA allocation error. I get errors like this in my kernel
log files:
i810_ioremapfree:mappings] *ERROR* Attempt to free NULL pointer
i810_ioremapfree:mappings] *ERROR* Excess frees: 153 frees, 2 allocs
Absolutely no problems in 2.4.7. The only difference in kernel configs
is that ftpfs is enabled in 2.4.9, but module sizes are very different
in the two kernels.
Ideas?
Philip
--
"Religion is something left over from the infancy of our intelligence, it will
fade away as we adopt reason and science as our guidelines."
-- Bertrand Russell
Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis
AIM philiptellis ICQ 129711328
Hiee,
How r u?
I m a new linuxuser searching for a proper solution as
soon as possible
I need some help from u
i installed linux7.1 pcquest linux (seawolf) on my
server now i need to configure it. i need to configure
it as a server. how should i configure it?
i given ip address to my server 192.168.0.55 and my
client is 192.168.0.45
i m able to ping other windows98 client & i can ping
from my win98 clietns to linux server
The details r as follows in order to understand u the
problem better
Domain name : linux_domain
host : linux_host.linux.domain
ip address of server : 192.168.0.55
ip address of win98 client : 192.168.0.45
i configured samba server but its not working
previously it was showing MYGROUP in network
neighbourhood but was not accessibly
it was giving some error : not accessible
i given name in samba server : MYGROUP
if u can help me out of this problem i will be very
thankful to u
My problem is : i need to configure linux server with
samba server or without samba server to share linux
directories in windows 98 network neighbourhood
i want to share linux directories from my windows98
clients
Thanx
Satsonic
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Hi guys!
I just installed RHL 7.1 from the PCQ July CD. I had a "install
everything" install. I created a user on the system and when I try to
telnet to the m/c from Windoze, it says "Connect failed...".
I then tried to telnet the m/c from the m/c itself. Same problem.
I could not find inetd on the m/c. But I did find xinetd and ran it. In
vain.
I also tried to run telnetd, but it never ran. It said:-
" telnetd: getpeername: Socket operation on non-socket "
What could be the problem?
Regards,
Shailesh.
Webspace www.geocities.com/akiyer63
may be offline for some time as the data transfer rates of 3 GB / month calculated on hourly basis is being
exceeded..
This is as per a mail from Geocities.com
In case you have problems in accessing the site, then please try again after some time.
Any inconvinience is regretted.
Thanks for making the website popular.
Anand
I seem to have messed up the locale settings on my machine ... here's
what perl says when I try to run a script.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.ISO-8859-9"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Similarly any GNOME application gives the following error
Gdk-WARNING **: locale not supported by C library
The original error messages had reported "english" as the locale
setting. While experimenting I ended up with the above strings when I
stuck an alias for "english" in /etc/locale.aliases. Where do I set up
my language environemt? Do I need to restart bash and all? I am using
Debian unstable ... the whole thing probably started when I upgraded my
glibc and other packages ..
SameerDS.
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
ip_local_deliver: bad loopback skb: PRE_ROUTING LOCAL_IN skb: pf=2
(unowned) dev=lo len=328 PROTO=17 0.0.0.0:68 255.255.255.255:67 L=328
S=0x10 I=0 F=0x0000 T=16 root
This is spewed to the console. Kernel 2.4.8, everything else works
fine. Note that the device is localhost and the protocol is
"qotd" according to /etc/services.
Why?
--
Satya. <URL:http://satya.virtualave.net/>
US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/>
FREE! Email reminder service at http://satya.virtualave.net/rem.html