| 34 | |
| 35 | '''EDIT''': I've hit duckduckgo a bit and the function is dubbed "obsolete" but I'm not sure what bearing that has on the re-entrancy discussion Here. More interesting, I also found this: |
| 36 | {{{ |
| 37 | gethostbyname() .... uses static storage that is re-used in each call, making these functions unsafe for use in multithreaded applications. |
| 38 | }}} |
| 39 | but again I'm not sure if they're just saying to not call it from concurrent threads at the same time, or if that also implies that the function is not state-neutral, i.e. you can't call it twice in sequence if it was interrupted before completing the first time. |