Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/astro/boinc-setiathome/files/patch-client_vector_hires__timer.cpp
16146 views
1
--- client/vector/hires_timer.cpp.orig 2018-01-14 23:02:12 UTC
2
+++ client/vector/hires_timer.cpp
3
@@ -267,7 +267,7 @@ hires_timer::hires_timer() : rollover(0),last_ticks(0)
4
#endif
5
if (period==0) {
6
install_sighandler();
7
- if (setjmp(jb)) {
8
+ if (sigsetjmp(jb,0)) {
9
fprintf(stderr,"using fallback timer\n");
10
use_fallback=1;
11
} else {
12
13