LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2014, 01:16 AM   #1
kenshuri
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Unhappy implement a new locking mechanism


how can i implement a new locking mechanism(something like mutex and semaphore) in linux. Do i have to implement it as a module or do I have to modify the kernel. Sorry I am a complete newbie.
 
Old 03-05-2014, 05:49 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,253
Blog Entries: 1

Rep: Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289
Kind of vague... To lock what, in what context, for what purpose and to what end?
 
Old 03-06-2014, 03:49 AM   #3
kenshuri
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
To lock any data that is shared among the processes. Or to make it simple ..how the semaphore is implemented.and if i want to modify the semaphore which kernel data structure should i work with.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
UNIX File locking mechanism new2linuxsyn Linux - Newbie 2 02-23-2012 08:48 PM
Linux File Locking Mechanism Samrat_Chakravarty Linux - Kernel 1 07-07-2010 12:50 PM
Is there any locking mechanism in linux scriptblues Linux - Newbie 7 06-12-2009 05:57 AM
caching mechanism sulekha Ubuntu 3 10-18-2008 12:12 AM
How to implement balancing mechanism for binary tree in C++ ? adnanm Programming 12 04-27-2006 03:27 PM


All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration