Hello.
In SDL Introduction in section “What can it do?” there are tip:
Do not use C library functions like I/O and memory management
from threads if you can help it - they lock resources
used by other threads.
What functions I can use for I/O and memory management from threads?
May be it’s good idea create SDL function for this?
For example, SDL_malloc, SDL_free, etc.–
Best regards,
Alex mailto:@Sashnov_Alexander
Do not use C library functions like I/O and memory management
from threads if you can help it - they lock resources
used by other threads.
What functions I can use for I/O and memory management from threads?
“Locks”. You can call malloc() from any thread; doing so a lot may
just slow things down.
Don’t worry about this until optimizing.
May be it’s good idea create SDL function for this?
For example, SDL_malloc, SDL_free, etc.
No, that wouldn’t help anything.On Wed, May 07, 2003 at 06:05:52PM +0600, Alex wrote:
–
Glenn Maynard