Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs
User Name



Why and how to use Mutex locks - Pthreads

Posted 02-27-2012 at 12:06 PM by TheIndependentAquarius
Updated 05-21-2012 at 02:51 AM by TheIndependentAquarius

Underlying operating system may schedule the threads on the basis of some algorithm which works on time limit (threads may be allowed to run only for certain durations of time, thus preventing the other threads from starvation), priority (higher priority threads may interrupt the lower priority threads during their execution), or some other factor.

These factors may cause a thread to sleep before it completes its task fully. Another thread may get scheduled meanwhile...
Senior Member
Posted in PThreads
Views 16480 Comments 3 TheIndependentAquarius is offline

LDAP Authentication

Posted 02-27-2012 at 12:16 AM by vijaykumar7474

Is it possible to connect openldap with IIS server ???
If possible How???
Please Help Me!!!!
LQ Newbie
Posted in Uncategorized
Views 398 Comments 0 vijaykumar7474 is offline

libLQ and/or Temp (recycling) formatted strings and blocks of memory

Posted 02-26-2012 at 12:02 PM by rainbowsally
Updated 05-06-2012 at 06:48 AM by rainbowsally

[Note: this refers to an obsolete implementation of the temp strings and libLQ sources but the concept of being able to pass a buffer containing a formatted string directly in the parameter list makes this both interesting and important regardless.

Also the peek into the asm code may be helpful for folks wishing to get into the really low level stuff. See how we can redirect a call to sprintf() instead of calling vsprintf() below. This may not be portable but then neither can QT...
Posted in Uncategorized
Views 417 Comments 0 rainbowsally is offline

Two handy manual pages from the LPM

Posted 02-24-2012 at 05:46 PM by hydraMax (Bits and Pixels)
Updated 02-24-2012 at 05:47 PM by hydraMax

One of the downsides to living in the age of the search engine is that many of us do not know how to find documentation in the place it is supposed to be. Sometimes, we waste much time and bandwidth trying to find information that is available locally. Two such examples from my own experience are listed below:

1) OPERATOR(7). I can't count the number of times I have done a Google search trying to remember if a '&&' had higher precedence than a '||', or some similar question....
Posted in Uncategorized
Views 401 Comments 0 hydraMax is offline

Virtualbox comparison.

Posted 02-24-2012 at 10:01 AM by rich_c

I've been messing with Virtualbox a bit lately. I just thought I'd share my observations.

Windows Vista Business guest. - Took hours to install and many, many hours to apply all the updates! Tends to slow the host machine (Dell Optiplex 740, 4GB RAM, Mepis 11 64 bit.) to a crawl. Runs OK in itself...

Ubuntu 10.04 guest. - Installed and updated in 2 hours tops. Runs great and doesn't seem to impact the host machine's performance very much at all!
Posted in Uncategorized
Views 843 Comments 0 rich_c is offline


All times are GMT -5. The time now is 08:33 PM.

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