Re: the evils of the CLD api

2010-01-18 Thread Jeff Garzik
My general comment on the libcldc API is that it is a low-level API, and definitely not very user friendly at all. ncld or other APIs would improve life quite a bit. Making life easier for programmers, and cutting out tons of code, is a plus :) Jeff, just returned from camping

Re: the evils of the CLD api

2010-01-16 Thread Colin McCabe
Looks promising... Shouldn't ncld_unlock and ncld_close return an error code rather than just eating all errors? The server certainly does sometimes send back error responses for these requests. The event() callback seems like to lead to some complexity. For example, let's say I have a main

Re: the evils of the CLD api

2010-01-16 Thread Pete Zaitcev
On Sat, 16 Jan 2010 17:54:36 -0800 Colin McCabe cmcc...@alumni.cmu.edu wrote: On Sat, Jan 16, 2010 at 3:21 PM, Pete Zaitcev zait...@redhat.com wrote: Shouldn't ncld_unlock and ncld_close return an error code rather than just eating all errors? The server certainly does sometimes send back