Search Results

Search: Posts Made By: XComp
Forum: Programming 01-02-2009
23,730
Posted By XComp
So finally I want to close this thread with my...
So finally I want to close this thread with my conclusion concerning this problem.
It seems to be a problem of Linux. That is what someone told me in another newsgroup. He tried to implement a...
Forum: Programming 12-19-2008
23,730
Posted By XComp
What do you mean? How do install the signal...
What do you mean? How do install the signal handlers when using pthreads or setcontext etc?
Forum: Programming 12-10-2008
23,730
Posted By XComp
I've isolated the source of error a little bit...
I've isolated the source of error a little bit more. It is because of using the third parameter of the signal handler for saving the context of the thread function. If I pass the parameter context to...
Forum: Programming 12-02-2008
23,730
Posted By XComp
Concerning my concrete problem I found out that...
Concerning my concrete problem I found out that the segmentation fault occurs while calling swapcontext() in the while-loop of scheduler_function(). I also tried to run the program without using an...
Forum: Programming 12-01-2008
23,730
Posted By XComp
Sorry for the late reaction, I wasn't online...
Sorry for the late reaction, I wasn't online during the holidays.
@jim mcnamara: How can I detect whether I am overflowing the signal stack or not? And what do you mean with context referencing?...
Forum: Programming 11-26-2008
23,730
Posted By XComp
Slightly different behaviour
So I've tested it on a OpenSuse machine. And there it behaves a little bit different. Instead of finishing there will be raised a segmentation fault. Here is the sample output for UPPER_BOUND =...
Forum: Programming 11-25-2008
23,730
Posted By XComp
Reduced code
Ok...I've tried to reduce the code. Maybe it is easier to understand and nobody is scared by the big number of lines. I removed most of the if conditions. So let's take a second try! :)


// ...
...
Forum: Programming 11-25-2008
23,730
Posted By XComp
Sure, if you think that there is a better chance...
Sure, if you think that there is a better chance for an answer. At first I thought that this is more low-level programming. But anyway...can you move it to the High Level Programming Subforum?!
...
Forum: Programming 11-24-2008
23,730
Posted By XComp
Signal Handling and Context Switches
Hi guys,
this is my first posting, so at first hi to everyone! ;)

I have a problem with ucontext_t in connection with signal handling. I want to simulate a preemptive scheduler. I am using the...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy