Jak se nechat systemem zavolat kazdou pulsekundu

Jan Kasprzak kas na informatics.muni.cz
Čtvrtek Duben 27 14:39:38 CEST 2000


Jakub Dadak wrote:
:  Zkuste mi poradit Vasi metodu.

	Omlouvam se, ze prispivam potreti do stejneho threadu. Neprecetl
jsem si zadani - neslo o cekani pul sekundy ale o vyvolani funkce.
Pak je ovsem lepsi (misto vytvoreni cekaciho threadu a select())
pouzit treba setitimer(2).

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
\You did not allow to drop the packet and machine tries to keep it. It does/
\\ not hang by the way, it simply works too hard to respond 8)8)    --ANK //


Další informace o konferenci Linux