On Sunday 04 May 2008 22:32:13 Daniel Gollub wrote:
> This seems to break with suncc. To be honest, didn't know that this works
> at all -> never seen this before ;)
I essentially took it from a similar callback in gpe. It seems to work with
all the platforms gpe runs on.
> Maybe we could solve this with running the callback outside the function
> and use user_data pointer with a list to collect the deleted entries. Or
> the OSyncHashTable obejct and add another OSyncList ...
Yes, I will rework it to use the user_data pointer (an alternative would be to
use a global static but I don't want to do that as it would make it not
threadsafe).
> Irene, Halton, can you comment on this? Does this kind of function
> declaration works at all with suncc?
If it doesn't work on one compiler then there is no point trying to tweak
it -- we will probably find another compiler one day on which it doesn't
work. I will re-implement it, test it and check it in (I can't test it on
Sun, however).
Graham
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel