Unix Programming - Functionality of sigsetjmp(3) on Linux & Solaris (different)

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2005 > Functionality of sigsetjmp(3) on Linux & Solaris (different)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Functionality of sigsetjmp(3) on Linux & Solaris (different)
Kenny McCormack

2005-03-24, 5:52 pm

As far as I can tell, both Linux & Solaris has functions call sigsetjmp,
but they do (completely) different things. Can anyone comment on why this
difference exists, does POSIX have anything to say on the subject, and
which is better or worse to use.

In my (limited) testing, it seems like should always use sigsetjmp (not
setjmp) when working under Linux. This does not appear to be true under
Solaris.

Paul Pluzhnikov

2005-03-25, 2:48 am

gazelle@yin.interaccess.com (Kenny McCormack) writes:

> As far as I can tell, both Linux & Solaris has functions call sigsetjmp,
> but they do (completely) different things.


They do *exactly* the same thing on my Linux and Solaris systems.
What are the differences you observed on yours?

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Kenny McCormack

2005-03-25, 8:50 pm

In article <m34qf01hyp.fsf@salmon.parasoft.com>,
Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
>gazelle@yin.interaccess.com (Kenny McCormack) writes:
>
>
>They do *exactly* the same thing on my Linux and Solaris systems.
>What are the differences you observed on yours?


Have you read the respective man pages? It is clear from the man pages
that they are different.

ppluzhnikov-nsp@charter.net

2005-03-26, 2:48 am

gazelle@yin.interaccess.com (Kenny McCormack) writes:

> Have you read the respective man pages?


I didn't need to since I know full well what this function does.
Just in case I missed something, I just re-read the man pages.

Guess what: they say (almost) exactly the same thing.

> It is clear from the man pages that they are different.


Pray tell what you think the difference is.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Kenny McCormack

2005-03-26, 2:48 am

In article <m3zmwrgibh.fsf@amoeba.parasoft.com>,
<ppluzhnikov-nsp@charter.net> wrote:
>gazelle@yin.interaccess.com (Kenny McCormack) writes:
>
>
>I didn't need to since I know full well what this function does.
>Just in case I missed something, I just re-read the man pages.
>
>Guess what: they say (almost) exactly the same thing.


Then you need to go back and read more carefully.

roger.faulkner@sun.com

2005-03-26, 2:48 am


Kenny McCormack wrote:
> In article <m3zmwrgibh.fsf@amoeba.parasoft.com>,
> <ppluzhnikov-nsp@charter.net> wrote:
>
> Then you need to go back and read more carefully.


It would help if both of you identified which version/release
of Solaris/Linux you are talking about.

It is possible that sigsetjmp() was different on earlier versions of
these systems but is the same on the latest versions of both systems.

Please don't waste our time just saying "I'm right / you're wrong."
Produce some facts, please.

Roger Faulkner
Sun Microsystems

Joerg Schilling

2005-03-26, 7:57 am

In article <d22bol$cpk$1@yin.interaccess.com>,
Kenny McCormack <gazelle@interaccess.com> wrote:
>In article <m34qf01hyp.fsf@salmon.parasoft.com>,
>Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
>
>Have you read the respective man pages? It is clear from the man pages
>that they are different.


Looks like you are not interested in a useful discussion :-(

A constructive contribution would name the putative differences
to allow a discussion.

--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com