D - errno
- Martin M. Pedersen (9/9) Jun 14 2002 Hi,
- Walter (3/12) Jun 14 2002 That's a good idea, since D won't support the ugly C errno macro.
- Matthew Wilson (4/25) Jun 14 2002 Will the value be thread-local?
- Walter (4/32) Jun 15 2002 It would just provide an interface to the thread local C errno.
- Matthew Wilson (4/39) Jun 15 2002 Cool.
- Pavel Minayev (3/6) Jun 16 2002 See class Thread in thread.d of Phobos. Also synchronized-blocks help
Hi, Walter, how abort adding: void seterrno(int); int geterrno(); to c.stdlib in Phobos, or introduce c.errno. It would introduce bad practices to access it using extern(C) in regular D code. Regards, Martin M. Pedersen
Jun 14 2002
That's a good idea, since D won't support the ugly C errno macro. "Martin M. Pedersen" <mmp www.moeller-pedersen.dk> wrote in message news:aed9pj$c0v$1 digitaldaemon.com...Hi, Walter, how abort adding: void seterrno(int); int geterrno(); to c.stdlib in Phobos, or introduce c.errno. It would introduce bad practices to access it using extern(C) in regular D code. Regards, Martin M. Pedersen
Jun 14 2002
Will the value be thread-local? "Walter" <walter digitalmars.com> wrote in message news:aedecc$gn8$2 digitaldaemon.com...That's a good idea, since D won't support the ugly C errno macro. "Martin M. Pedersen" <mmp www.moeller-pedersen.dk> wrote in message news:aed9pj$c0v$1 digitaldaemon.com...DHi, Walter, how abort adding: void seterrno(int); int geterrno(); to c.stdlib in Phobos, or introduce c.errno. It would introduce bad practices to access it using extern(C) in regularcode. Regards, Martin M. Pedersen
Jun 14 2002
It would just provide an interface to the thread local C errno. "Matthew Wilson" <dmd synesis.com.au> wrote in message news:aee3ho$15gg$1 digitaldaemon.com...Will the value be thread-local? "Walter" <walter digitalmars.com> wrote in message news:aedecc$gn8$2 digitaldaemon.com...regularThat's a good idea, since D won't support the ugly C errno macro. "Martin M. Pedersen" <mmp www.moeller-pedersen.dk> wrote in message news:aed9pj$c0v$1 digitaldaemon.com...Hi, Walter, how abort adding: void seterrno(int); int geterrno(); to c.stdlib in Phobos, or introduce c.errno. It would introduce bad practices to access it using extern(C) inDcode. Regards, Martin M. Pedersen
Jun 15 2002
Cool. btw, can I ask what the state of play with threads & D is? "Walter" <walter digitalmars.com> wrote in message news:aeg2in$df2$3 digitaldaemon.com...It would just provide an interface to the thread local C errno. "Matthew Wilson" <dmd synesis.com.au> wrote in message news:aee3ho$15gg$1 digitaldaemon.com...Will the value be thread-local? "Walter" <walter digitalmars.com> wrote in message news:aedecc$gn8$2 digitaldaemon.com...regularThat's a good idea, since D won't support the ugly C errno macro. "Martin M. Pedersen" <mmp www.moeller-pedersen.dk> wrote in message news:aed9pj$c0v$1 digitaldaemon.com...Hi, Walter, how abort adding: void seterrno(int); int geterrno(); to c.stdlib in Phobos, or introduce c.errno. It would introduce bad practices to access it using extern(C) inDcode. Regards, Martin M. Pedersen
Jun 15 2002
On Sun, 16 Jun 2002 09:24:40 +1000 "Matthew Wilson" <dmd synesis.com.au> wrote:Cool. btw, can I ask what the state of play with threads & D is?See class Thread in thread.d of Phobos. Also synchronized-blocks help a lot.
Jun 16 2002