9fans notes and traps
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 26 articles for 0.003 sec
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: cinap_lenrek
Date: Aug 29, 2008 19:22

...cinap_lenrek@gmx.de Subject: Re: [9fans] notes and traps Date: Fri, 29 Aug...> 8.out 12490667: suicide: sys: trap: general protection violation pc=0x00001333 ... discussions on the implementation of notes and didn't find anything in... 8.out 12490667: suicide: sys: trap: general protection violation pc=0x00001333 ... discussions on the implementation of notes and didn't find anything ...
Show full article (4.52Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: cinap_lenrek
Date: Aug 30, 2008 12:15

... this how it works now?), make notes unreliable or block the sender? ... to handle it without losing user notes while make sure internal system notes...note[1], p->nnote * sizeof(p->note[0])); p->nnote++; } } else { x =...the following conditions hold true: - internal notes get *always* posted (so the process...that while processing a previous user note, that this caused an internal note...
Show full article (1.95Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: cinap_lenrek
Date: Aug 30, 2008 10:46

...process the pending 5 user notes. With my suggested patch, it...no, it would lose the note with the current implementation. make...improvement to me. losing the trap note and *not* handling it...way? a keyboard interrupt? External notes are the ones posted to...writes "interrupt" the the programs note file running in the window...worked perfectly. The problem with notes and signals are that it...
Show full article (6.20Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: erik quanstrom
Date: Aug 30, 2008 07:09

... with a better understanding of what notes are supposed to be could answer...the other side inpostnote(), where the note is put in the up->note... how it works now?), make notes unreliable or block the sender?... to me. sleeping in a note handler seems like it's ... keeps up->notified around to note (ha!) this fact. as a ... a special dodge of a note continuation handler for ape available....
Show full article (2.50Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: Steve Simon
Date: Aug 30, 2008 03:56

purely as an aside this detailed conversation on how notes are handled in the kernel is very interesting, I was trying to understand this myself recently and gave up; I will now try again. Thanks, -Steve
Show full article (0.21Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: cinap_lenrek
Date: Aug 29, 2008 22:51

... has not handed a system note when it gets another. which has... other side inpostnote(), where the note is put in the up->... is carefully constructed to abuse notes beyond reason. Its the extract ... someone wrong. sleeping in a note handler seems like it's ..., why is sleep() in a note handler a bad idea? having ... for broken system calls. but notes, like signals, tend to be ...
Show full article (2.35Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: erik quanstrom
Date: Aug 29, 2008 20:38

...*can* send you further (NUser) notes without doing any harm. If ... see: /sys/src/9/pc/trap.c: notify() ... if(n->flag!=... has not handed a system note when it gets another. the ... is carefully constructed to abuse notes beyond reason. sleeping in a ... me. having two threads sending notes to the same proc including ... for broken system calls. but notes, like signals, tend to be...
Show full article (1.83Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: erik quanstrom
Date: Aug 29, 2008 11:30

...> 8.out 12490667: suicide: sys: trap: general protection violation pc=0x00001333 okay...dead meat if you receive a note while you're in the note handler. that is, up->notified = 1. it looks pretty clear ...'t get 3-4 note before the note handler is called, ... this, calling sleep() from the note handler is an especially bad ... discussions on the implementation of notes and didn't find anything ...
Show full article (1.14Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: Kernel Panic
Date: Aug 29, 2008 03:13

...> 8c test.c 8a int80.s 8l test.8 int80.8 ./8.out 8.out 12490667: suicide: sys: trap: general protection violation pc=0x00001333 the parent process loops and does "fake" syscalls while the child posts notes to it. arg... swap parent <-> child... but you'll see it in the code. -- cinap
Show full article (0.40Kb) · Show article thread
Re: [9fans] notes and traps     

Group: comp.os.plan9 · Group Profile · Search for 9fans notes and traps in comp.os.plan9
Author: Kernel Panic
Date: Aug 29, 2008 03:07

.../sources/contrib/cinap_lenrek/traptest/ 8c test.c 8a int80.s 8l test.8 int80.8 ./8.out 8.out 12490667: suicide: sys: trap: general protection violation pc=0x00001333 the parent process loops and does "fake" syscalls while the child posts notes to it. - erik -- cinap
Show full article (0.50Kb) · Show article thread
1 · 2 · 3 · next