LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Why and how to use Mutex locks - Pthreads

Posted 02-27-2012 at 11:06 AM by TheIndependentAquarius
Updated 05-21-2012 at 01:51 AM by TheIndependentAquarius

Problem:
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 11743 Comments 3 TheIndependentAquarius is offline
Old

LDAP Authentication

Posted 02-26-2012 at 11:16 PM by vijaykumar7474

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

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

Posted 02-26-2012 at 11:02 AM by rainbowsally
Updated 05-06-2012 at 05: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...
Member
Posted in Uncategorized
Views 328 Comments 0 rainbowsally is offline
Old

Two handy manual pages from the LPM

Posted 02-24-2012 at 04:46 PM by hydraMax (Bits and Pixels)
Updated 02-24-2012 at 04: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....
Member
Posted in Uncategorized
Views 298 Comments 0 hydraMax is offline
Old

Virtualbox comparison.

Posted 02-24-2012 at 09: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!
Member
Posted in Uncategorized
Views 718 Comments 0 rich_c is offline

  



All times are GMT -5. The time now is 01:37 AM.

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