Bugs item #1694548, was opened at 2007-04-04 22:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1694548&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HAL
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Markus Elfring (elfring)
Assigned to: John Kasunich (jmkasunich)
Summary: Fix thread creation

Initial Comment:
I see the following source code in the file "socket_server.c" (lines 89-94).
"...
                Error =
                    pthread_create(&thread_socket_server, NULL,
                    (void *(*)(void *)) SocketServerTcpMainLoop,
                    (void *) NULL);
                if (Error == -1) {
                    printf("Failed to create thread socket server...\n");
..."

According to the POSIX specification, the check should be "if (Error)".
http://opengroup.org/onlinepubs/009695399/functions/pthread_create.html

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1694548&group_id=6744

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to