1.fear resulting from the awareness of danger
2.a device that signals the occurrence of some undesirable event
3.an automatic signal (usually a sound) warning of danger
4.a clock that wakes sleeper at preset time
1.fill with apprehension or alarm; cause to be unpleasantly surprised;
I was horrified at the thought of being late for my interview
2.warn or arouse to a sense of danger or call to a state of preparedness;
The empty house alarmed him
Linux C alarm函數 alarm也稱為鬧鐘函數,它可以在進程中設置一個定時器,當定時器指定的時間到時,它向進程發送SIGALRM信號。要注意的是,一個進程只能有一個鬧鐘時間,如果在調用alarm之前已設置過鬧鐘時間,則任何以前的鬧鐘時間都被新值所代替。需要注意的是,經過指定的秒數后,信號由內核產生,由于進程調度的延遲,所以進程得到控制從而能夠處理該信號還需要一些時間。 如果有以前為進程登記的尚未超時的鬧鐘時鐘,而且本