You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/09/11 15:25:23 UTC
[jira] Commented: (AXIS2C-278) Check for and eliminate use of
non-thread-safe library functions
[ http://issues.apache.org/jira/browse/AXIS2C-278?page=comments#action_12433853 ]
Samisa Abeysinghe commented on AXIS2C-278:
------------------------------------------
ctime is used by util/src/log.c
dlerror is used by util/src/class_loader.c
gethostbyname is used by util/src/network_handler.c
inet_ntoa is used by util/src/network_handler.c
rand is used by util/src/minizip/crypt.c and util/src/platforms/unix/uuid_gen_unix.c
readdir util/src/platforms/windows/dir_windows.c (not sure if it is thread safe on Windows)
Above are the only uses revealed by my grep on source.
> Check for and eliminate use of non-thread-safe library functions
> ----------------------------------------------------------------
>
> Key: AXIS2C-278
> URL: http://issues.apache.org/jira/browse/AXIS2C-278
> Project: Axis2-C
> Issue Type: Task
> Affects Versions: Current (Nightly)
> Reporter: James Clark
> Priority: Minor
>
> There's a list of POSIX functions which POSIX says are not thread-safe:
> http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_09.html#tag_02_09_01
> We should try to avoid these or ensure in some other way that their use does not cause problems in a threaded environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org