[lkml]   [1997]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Followup to:  <>
By author: Pavel Machek <>
In newsgroup:
> There's a bigger error. Imagine me redesigning some code. Aha - but
> how can I know if someone depends on this code not blocking?
> It may be nice idea to add /* Must not block */ comment to every
> function that may not block... Anyone who has more knowledge than me
> volunteering?

Maybe we could get a gcc hack using the __attribute__(())
mechanism... say __attribute__((no_block)); any routine marked
nonblocking would print a warning if it called a blocking routine. I
understand this is a mechanism already build into gcc to support
various system-dependent hacks...

PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See for web page and full PGP public key
I am Bahá'í -- ask me about it or see
"To love another person is to see the face of God." -- Les Misérables

 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean