diff options
author | Ondrej Bilka <neleai@seznam.cz> | 2013-07-31 02:23:14 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2013-07-31 02:23:14 +0400 |
commit | d4f36a0d49e482f7c8d9fe3e800e6672adc3eb97 (patch) | |
tree | ae184275e671be9e33411c29e86c0444e361673f /pthread_support.c | |
parent | e05d9561efb40a1a05a07556dab2c9c2221db5c7 (diff) | |
download | bdwgc-d4f36a0d49e482f7c8d9fe3e800e6672adc3eb97.tar.gz |
Fix more typos in comments
* darwin_stop_world.c (GC_use_threads_discovery): Fix a typo in
comment ("stopped").
* doc/porting.html: Fix typos in comment ("defining", "support").
* include/gc.h (GC_get_prof_stats): Fix a typo in comment ("entries").
* include/private/gc_priv.h (GC_have_errors): Fix a typo in comment
("OK").
* include/private/gcconfig.h: Fix a typo in comment ("SPARC).
* ChangeLog: Likewise.
* os_dep.c (GC_linux_main_stack_base): Likewise.
* include/private/gcconfig.h: Fix a typo in comment ("release").
* mallocx.c (GC_generic_malloc_many): Fix a typo in comment
("reacquiring").
* mallocx.c (GC_memalign): Fix a typo in comment ("OK").
* os_dep.c (GC_win32_free_heap): Likewise.
* pthread_support.c (GC_remove_all_threads_but_me): Likewise.
* win32_threads.c (GC_remove_all_threads_but_me): Likewise.
* doc/README.Mac: Likewise.
* mark.c (GC_push_unconditionally): Fix a typo in comment ("pointers").
* pthread_support.c: Fix a typo in comment ("which").
* win32_threads.c: Fix a typo in comment ("losing").
Diffstat (limited to 'pthread_support.c')
-rw-r--r-- | pthread_support.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pthread_support.c b/pthread_support.c index 876c2a66..957408d8 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -146,7 +146,7 @@ # define REAL_FUNC(f) GC_real_##f /* We define both GC_f and plain f to be the wrapped function. */ /* In that way plain calls work, as do calls from files that */ - /* included gc.h, wich redefined f to GC_f. */ + /* included gc.h, which redefined f to GC_f. */ /* FIXME: Needs work for DARWIN and True64 (OSF1) */ typedef int (* GC_pthread_create_t)(pthread_t *, GC_PTHREAD_CREATE_CONST pthread_attr_t *, @@ -675,7 +675,7 @@ STATIC void GC_remove_all_threads_but_me(void) me = p; p -> next = 0; # ifdef GC_DARWIN_THREADS - /* Update thread Id after fork (it is ok to call */ + /* Update thread Id after fork (it is OK to call */ /* GC_destroy_thread_local and GC_free_internal */ /* before update). */ me -> stop_info.mach_thread = mach_thread_self(); @@ -685,7 +685,7 @@ STATIC void GC_remove_all_threads_but_me(void) # if defined(THREAD_LOCAL_ALLOC) && !defined(USE_CUSTOM_SPECIFIC) /* Some TLS implementations might be not fork-friendly, so */ /* we re-assign thread-local pointer to 'tlfs' for safety */ - /* instead of the assertion check (again, it is ok to call */ + /* instead of the assertion check (again, it is OK to call */ /* GC_destroy_thread_local and GC_free_internal before). */ if (GC_setspecific(GC_thread_key, &me->tlfs) != 0) ABORT("GC_setspecific failed (in child)"); |