Il 27/01/2009 19.20, Viktor Szakáts ha scritto:
I think the .hrb modules aren't loaded on a per thread basis, so it's not like several of them could be loaded in parallel.


This should be Przemek to clear. What happens in this case ? Are they MT safe ? In uhttpd they *can be loaded* in parallel in different threads. One thing I may do is to serialize them to a single-specific thread that can run hrb modules one after another and store them to avoid next file load. Is this the way ?


As far as I see from the sources, loading an .hrb from memory is already supported, if you pass the .hrb as a string to the HB_HRBLOAD() function.

Yes I know.

Maybe a separate
HB_HRBLOADFROMMEMORY() would be more clear.

[ BTW I'd recommend using HB_HRB*() names instead of the obsolete __HRB*() ones. ]


Done, I will upload in next commit

Best regards,

Francesco
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to