|
2008-08-06
| ||
| 06:47 | • Closed ticket [1994512fff]: async socket logic cleanups plus 8 other changes artifact: eedbea49be user: jenglish | |
|
2008-06-16
| ||
| 01:37 | • Ticket [1994512fff]: 4 changes artifact: 5e0f1c8431 user: jenglish | |
| 01:33 | • Ticket [1994512fff]: 4 changes artifact: b3f9bfea81 user: jenglish | |
| 01:33 | • Add attachment cleanup-async-connect.patch to ticket [1994512fffffffff|... artifact: 6a4ff0cb02 user: jenglish | |
|
2008-06-15
| ||
| 18:33 | • New ticket [1994512fff] async socket logic cleanups. artifact: 21a58a7b85 user: jenglish | |
async socket logic cleanups
Closed / Accepted1994512fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-06-15 18:33:20
Attached patch streamlines the async socket logic in unix/tclUnixChan.c. Summary of changes: + Consolidate error reporting paths in CreateSocket() + Restore blocking mode immediately after connect(); + File descriptor blocking mode is now consistent with [fconfigure ... -blocking] setting even while async connect is in progress + Fix incorrect comments in WaitForConnect() header.
jenglishplain2008-06-16 01:33:21
File Added - 281477: cleanup-async-connect.patch
jenglishplain2008-06-16 01:37:54
Logged In: YES user_id=68433 Originator: YES See also #1960647. I have a more aggressive version of this patch that skips WaitForConnect() altogether (hence removing the need for TclUnixWaitForFile in the first place). I've tested and verified that it works on Linux, but can't confirm whether the simpler approach is guaranteed to work everywhere. In any event, TclUnixWaitForFile() is more complicated than it needs to be, and is subject to further simplifications.
jenglishplain2008-08-06 06:47:40
Logged In: YES user_id=68433 Originator: YES Patch committed to HEAD.
Log in (anonymous is fine) to add a comment.
Attachments:
- cleanup-async-connect.patch [download] added by jenglish on 2008-06-16 01:33:20. [details]