LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-31-2005, 10:37 PM   #1
V_Ganesh
LQ Newbie
 
Registered: Sep 2004
Location: India
Distribution: RH8,Fedora Core2,OpenBSD,Solaris
Posts: 4

Rep: Reputation: 0
shared memory/semaphore problem


Hi,

I build a binary in fedora core 2(2.6 kernel) which uses shared memory and semaphores. I tried to run that binary in fedora core 1(2.4 kernel), it is not working correctly. Is there any major change made in kernel 2.6 from 2.4 and this is the reason my program is not behaving correctly?? Plz clarify.. Thanx in advance.

--Ganesh
 
Old 03-31-2005, 10:58 PM   #2
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 42
Quote:
Is there any major change made in kernel 2.6 from 2.4
er, yes.
Quote:
and this is the reason my program is not behaving correctly?
maybe. But I don't think the API is supposed to have changed; it could be that you weren't using it correctly in the first place or that the 2.4 kernel happened to expose some race conditions that were already in your code. Or the kernel could really be buggy. If you want a more helpful answer, you'll probably have to post some code
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
Problem with shared memory in C under Linux d1s4st3r Programming 4 06-29-2005 03:34 AM
How to change shared memory and semaphore config on RHL9? ryanw Linux - Software 1 01-18-2005 10:14 AM
shared memory blackzone Programming 1 10-14-2004 11:52 AM
shared memory socket9001 Programming 4 02-06-2004 02:08 PM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration