Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 0
shared memory/semaphore problem


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.

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

Rep: Reputation: 43
Is there any major change made in kernel 2.6 from 2.4
er, yes.
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


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

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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:31 AM.

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