commoncpp2-1.6.2 vs. Sparc Solaris (9/10)

View: New views
2 Messages — Rating Filter:   Alert me  

commoncpp2-1.6.2 vs. Sparc Solaris (9/10)

by Reinhard Drube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for Solaris one need a change in

src/timer.cpp:

130,131c130
<       // ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL);
<       ::nanosleep(&ts, NULL);
---
 >       ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL);

regards,
Reinhard


_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@...
http://lists.gnu.org/mailman/listinfo/bug-commoncpp

Re: commoncpp2-1.6.2 vs. Sparc Solaris (9/10)

by David Sugar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe this can be wrapped in a configure library test to make sure there
really is a "clock_nanosleep()" to link with?  I should see if this is
relevant to ucommon as well...

Reinhard Drube wrote:

> for Solaris one need a change in
>
> src/timer.cpp:
>
> 130,131c130
> <       // ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL);
> <       ::nanosleep(&ts, NULL);
> ---
>>       ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL);
>
> regards,
> Reinhard
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@...
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

[dyfet.vcf]

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
email;internet:dyfet@...
tel;work:+1 201 215 2609
url:http://www.gnutelephony.org
version:2.1
end:vcard



_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@...
http://lists.gnu.org/mailman/listinfo/bug-commoncpp