Ask a Question related to Ruby, Design and Development.
-
Francis Joanis #1
Using a trace function with multiple threads
Hello all,
I'd like to know if the set_trace_func function works on a "per
thread" basis or if it works globally.
I have a multithreaded application that is required to do some
checking inside a trace function. This checking requires having access
to the current thread's context to determine its class type, name
based on a variable, ...
Is there a way to get a hold (an address, an ID, ...) to the active
thread's context within a global trace function?
Thanks a lot,
Francis
Francis Joanis Guest
-
Function Trace
Well i have used the function trace but how can i see the output or where is it.? Thanks in advance -
Blocking on multiple threads with timeout
I have a few threads that might need as long as a minute or more to complete and terminate. If they exceed an arbitrary time, they can be... -
AI 10 updating Multiple links function GONE! or not?
Hi all! Could be being kinda stoopid here but in previous incarnations of AI (pre AI 10 under OS 9 MAC) if you renamed your folders or moved a... -
multiple threads read() problems
Hello, I have a multi-threaded echo server designed like so: - there's a main threads and some number of worker threads (threadpool) - main... -
Displaying the function stack trace
Guenther Sohler wrote: Use abort() instead of exit(). This will leave a core file that you can use for post-mortem debugging. -
Lothar Scholz #2
Re: Using a trace function with multiple threads
Read the source code of the debugger. You find your answer there.
its the "debugger.rb" file :-)
Lothar Scholz Guest



Reply With Quote

