Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Feb : question about a thread safe procedure or function

www.cryer.info
Managed Newsgroup Archive

question about a thread safe procedure or function

Subject:question about a thread safe procedure or function
Posted by:"Dixon Epperson" (edeppers..@insightbb.com)
Date:Tue, 22 Feb 2005 09:44:09

I think I know the answer, but I need to be sure.

I have a global unit call uGlobalMethods

In this unit I have a bunch of routines, procedures and functions, that I
have written  and use for string manipulation and other unique repetitive
needs.

I do not use and global variables in this unit, except for two that may be
called for the gui.

other than that all variables are local to the procedure and the way I get
info out of these is either a function returning it or as a var parameter.

These will be safe for thread use, won't they?

E. D. Epperson jr.

Replies:

www.cryer.info
Managed Newsgroup Archive