This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Porting Sun's XView to Cygwin: ucontext.h/sigcontext workaround?


On Mon, 16 Jun 2003, Hirsch, Matthew wrote:

> Hi list.
>
> I'm working on porting Sun Microsystems's antiquated XView libraries to
> Cygwin.  The only major hangup I've run into is the absence of the signal
> context functionality (ucontext.h and sigcontext).  I've read through the
> archives of this distribution, and I know this has been discussed at some
> length, especially by Igor Pechtchanski, but no resolution was reached.
>
> Has anyone found a suitable workaround?
>
> Thanks much..
> Matt Hirsch

Matt,

Unfortunately, the best solution at this point is the one outlined in
<http://www.cygwin.com/ml/cygwin/2002-10/msg00236.html> (the bug Allen
mentioned has been fixed, so my original proposal of using cygwin_internal
should also work).  You should then be able to use GetThreadContext to
retrieve the context.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]