|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] libxen-3.0 (libxc rewrite)
> >Personally, I think the best approach is to stick with the existing C
> >convention that everyone is already well familiar with, and have a
> >separate errno variable. This means we can then have functions return
> >pointers etc rather than having to pass them by reference, which is
> >undeniably ugly.
> >
> >
> There's only one problem with this: thread-safety. I believe
> errno is
> commonly implemented in thread-local storage. We'd have to
> jump through major hoops to get our own proper errno.
No -- We want to use the normal libc errno, like other libraries!
Ian
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82&alloc_id148&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|