From: Tunca (att@yimpas.net.tr)
Date: Mon 14 May 2001 - 18:29:11 EEST
>> ------------------------------
>> static inline void __sleep_on(struct wait_queue **p, int state){
>> unsigned long flags;
>> struct wait_queue wait = { current, NULL };
>> if (!p)
>> return;
>> if (current == task[0])
>> panic("task[0] trying to sleep");
>> current->state = state;
>> add_wait_queue(p, &wait);
>> save_flags(flags);
>> sti();
>> schedule();
>> remove_wait_queue(p, &wait);
>> restore_flags(flags);
>> }
>> ------------------------------
>schedule() dan wakeup cagirilana kadar geri donmuyorsun da ondan.
schedule'dan geri döndügü zaman o kaynagi kulllana process farkli bir
process oluyor byük bir iltimalle degil mi?
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr adresine gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/