Re: timer_create for openbsd. Any equivalent ?
Ok, thank you Le mar. 28 avr. 2015 à 01:36, Ted Unangst a écrit : > syphax azmole wrote: > > Hello list, > > > > I have a small "C" program using standard POSIX timer_create(2), > > timer_delete(2) and SIGEV_SIGNAL. > > It seems that OpenBSD doesn't have such API. (and doesn't have librt). > > I'm curious: why are they not implemented ? For security reason ? they > are > > not easy to implement ? Maybe they are useless ? > > Most missing features are missing because nobody cared enough to implement > them. A fair chunk of the real time extensions fall into that category. > > > What I need to do is to call a function after x milliseconds. > > What do you suggest me to do ? I suppose there is a simpler and better > way > > than using libevent for that, right ? > > libevent is probably the simplest. Or a timeout for poll/select whatever > you're using.
OpenBSD 5.6 and 5.7 freeze on installation on macbook pro late 2013
Hello list, I tried OpenBSD on my laptop, a macbook pro late 2013, and I have freeze while installing it. With OpenBSD 5.6, it hangs 5 minutes when printing "scsibusx at softraidx: 256 targets", and then continue until prompting command from user. (with I for installation, U for upgrade, etc...). Unfortunately the keyboard doesn't work. I can type any command and nothing happens. After googling, I saw that this bugs is fixed in current. So I tried OpenBSD 5.7, the current version (1 day ago), and the result is even worse because it hangs before that. the last printed thing is uhub0 at usb0 "intel xHC1 root hub" rev 3.00/1.00 addr 1 Anyone has tried OpenBSD on such hardware ? Any idea on what I can do ? Any hope on getting it working ? Thanks in advance for any help, Best Regards
timer_create for openbsd. Any equivalent ?
Hello list, I have a small "C" program using standard POSIX timer_create(2), timer_delete(2) and SIGEV_SIGNAL. It seems that OpenBSD doesn't have such API. (and doesn't have librt). I'm curious: why are they not implemented ? For security reason ? they are not easy to implement ? Maybe they are useless ? What I need to do is to call a function after x milliseconds. What do you suggest me to do ? I suppose there is a simpler and better way than using libevent for that, right ? Unfortunately it's not easy to find such information in google since we mainly found things for linux :( Any help will be very helpful. Thanls in advance.