Your money or your life!
Posted by: nico on
Oct 5th, 2009 |
Filed under: Uncategorized
Posted by: nico on
Oct 5th, 2009 |
Filed under: Uncategorized
Posted by: nico on
Oct 1st, 2009 |
Filed under: C++, Linux, Programming
| Few things look cooler than debugging a multithreaded application using TUI through ssh on a client, halfway across the world. There you are, felling the geek of the century when all of the sudden gdb starts jumping from one thread to the other. OMFGBBQ! What are you going to do now? | ![]() |
The scheduler locking policy defines when will thread context swtiches occur. If you are debuging a thead and don’t want to be bothered by another then just lock the scheduler.
gdb has a default scheduling locking which defaults to “most annoying”, but fortunately you can easily change it:
set scheduler-locking
The possible values are:
Hopefully this will save you some time.