[svn:PHP-Sandwich] rev 1024 - PHP-Sandwich/trunk/stuff

[email protected] 27 Apr 2005 22:16:50 -0000
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
Author: wez
Date: Wed Apr 27 15:16:50 2005
New Revision: 1024

Modified:
   PHP-Sandwich/trunk/stuff/TSRM.patch
Log:
typo fix

Modified: PHP-Sandwich/trunk/stuff/TSRM.patch
==============================================================================
--- PHP-Sandwich/trunk/stuff/TSRM.patch	(original)
+++ PHP-Sandwich/trunk/stuff/TSRM.patch	Wed Apr 27 15:16:50 2005
@@ -10,7 +10,7 @@
  #endif
  }
  
-+/* frees and interpreter context.  You are responsible for making sure that
++/* frees an interpreter context.  You are responsible for making sure that
 + * it is not linked into the TSRM hash, and not marked as the current interpreter */
 +void tsrm_free_interpreter_context(void *context)
 +{
@@ -52,7 +52,7 @@
 +#endif
 +
 +	/* TODO: unlink current from the global linked list, and replace it
-+	 * it with the new context, protected by mutex where appropriate */
++	 * it with the new context, protected by mutex where/if appropriate */
 +
 +	/* Set thread local storage to this new thread resources structure */
 +#if defined(PTHREADS)
@@ -115,7 +115,7 @@
  TSRM_API void *tsrm_set_new_thread_end_handler(tsrm_thread_end_func_t new_thread_end_handler);
  
 +/* these 3 APIs should only be used by people that fully understand the threading model
-+ * used by PHP/Zend and the select SAPI. */
++ * used by PHP/Zend and the selected SAPI. */
 +TSRM_API void *tsrm_new_interpreter_context(void);
 +TSRM_API void *tsrm_set_interpreter_context(void *new_ctx);
 +TSRM_API void tsrm_free_interpreter_context(void *context);