diff --git a/Makefile b/Makefile index 13096b81be..3b78288887 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ DEFAULT_SRC_CATALOG = https://pkgs.racket-lang.org PLT_SETUP_OPTIONS = # Belongs in the "Configuration options" section, but here -# to accomodate nmake: +# to accommodate nmake: SRC_CATALOG = $(DEFAULT_SRC_CATALOG) CPUS = diff --git a/README.md b/README.md index bfe69ff10a..da9d649409 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Quick Start ----------- Pre-built versions of Racket for a variety of operating systems and -architectures, as well as convienient source distributions are +architectures, as well as convenient source distributions are available at [https://download.racket-lang.org](https://download.racket-lang.org) diff --git a/pkgs/racket-benchmarks/tests/racket/benchmarks/common/index-template.html b/pkgs/racket-benchmarks/tests/racket/benchmarks/common/index-template.html index e9b3d60b42..b27bbefdcb 100644 --- a/pkgs/racket-benchmarks/tests/racket/benchmarks/common/index-template.html +++ b/pkgs/racket-benchmarks/tests/racket/benchmarks/common/index-template.html @@ -51,7 +51,7 @@ every other benchmark’s compile time.
These configurations are all “safe mode,” but they allow a compiler to assume that built-in Scheme functions are not redefined -and that no top-level defintion is ever changed. Such assumptions +and that no top-level definition is ever changed. Such assumptions correspond to putting the benchmark in an R6RS library. We attempt to use the various implementations in a compentent way, but not in a sophisticated way. For example, we do not tweak inlining parameters or diff --git a/pkgs/racket-benchmarks/tests/racket/benchmarks/common/psyntax-input.txt b/pkgs/racket-benchmarks/tests/racket/benchmarks/common/psyntax-input.txt index 4bc27130f1..3a8d047284 100644 --- a/pkgs/racket-benchmarks/tests/racket/benchmarks/common/psyntax-input.txt +++ b/pkgs/racket-benchmarks/tests/racket/benchmarks/common/psyntax-input.txt @@ -215,7 +215,7 @@ ;;; implementation for this code to run. ;;; ;;; (voide) -;;; returns the implementation's cannonical "unspecified value". The +;;; returns the implementation's canonical "unspecified value". The ;;; following usually works: ;;; ;;; (define voide (lambda () (if #f #f))). @@ -298,7 +298,7 @@ ;;; When porting to a new Scheme implementation, you should define the ;;; procedures listed above, load the expanded version of psyntax.ss -;;; (psyntax.pp, which should be available whereever you found +;;; (psyntax.pp, which should be available wherever you found ;;; psyntax.ss), and register sc-expand as the current expander (how ;;; you do this depends upon your implementation of Scheme). You may ;;; change the hooks and constructors defined toward the beginning of @@ -1054,7 +1054,7 @@ ;;; and pairs <-Recent versions of the collector support several facilites to enhance +Recent versions of the collector support several facilities to enhance the processor-scalability and thread performance of the collector. These are discussed in more detail here. We briefly outline the data approach to thread-local allocation in the diff --git a/racket/src/racket/gc/dyn_load.c b/racket/src/racket/gc/dyn_load.c index ef4db4219d..87f9daba56 100644 --- a/racket/src/racket/gc/dyn_load.c +++ b/racket/src/racket/gc/dyn_load.c @@ -959,7 +959,7 @@ void GC_register_dynamic_libraries() /* Get info about next shared library */ status = shl_get(index, &shl_desc); - /* Check if this is the end of the list or if some error occured */ + /* Check if this is the end of the list or if some error occurred */ if (status != 0) { # ifdef GC_HPUX_THREADS /* I've seen errno values of 0. The man page is not clear */ diff --git a/racket/src/racket/gc/include/gc.h b/racket/src/racket/gc/include/gc.h index 18de0c1672..5dcb73dc34 100644 --- a/racket/src/racket/gc/include/gc.h +++ b/racket/src/racket/gc/include/gc.h @@ -151,7 +151,7 @@ GC_API int GC_use_entire_heap; /* entire heap before collecting. This was the only */ /* option for GC versions < 5.0. This sometimes */ /* results in more large block fragmentation, since */ - /* very larg blocks will tend to get broken up */ + /* very large blocks will tend to get broken up */ /* during each GC cycle. It is likely to result in a */ /* larger working set, but lower collection */ /* frequencies, and hence fewer instructions executed */ diff --git a/racket/src/racket/gc/include/gc_mark.h b/racket/src/racket/gc/include/gc_mark.h index 8ee50b5d4d..bcaa52629a 100644 --- a/racket/src/racket/gc/include/gc_mark.h +++ b/racket/src/racket/gc/include/gc_mark.h @@ -32,7 +32,7 @@ /* A client supplied mark procedure. Returns new mark stack pointer. */ /* Primary effect should be to push new entries on the mark stack. */ /* Mark stack pointer values are passed and returned explicitly. */ -/* Global variables decribing mark stack are not necessarily valid. */ +/* Global variables describing mark stack are not necessarily valid. */ /* (This usually saves a few cycles by keeping things in registers.) */ /* Assumed to scan about GC_PROC_BYTES on average. If it needs to do */ /* much more work than that, it should do it in smaller pieces by */ diff --git a/racket/src/racket/gc/include/private/gcconfig.h b/racket/src/racket/gc/include/private/gcconfig.h index d2a85c7bce..8848ad046b 100644 --- a/racket/src/racket/gc/include/private/gcconfig.h +++ b/racket/src/racket/gc/include/private/gcconfig.h @@ -418,7 +418,7 @@ # if defined(_MSC_VER) && defined(_M_IA64) # define IA64 # define MSWIN32 /* Really win64, but we don't treat 64-bit */ - /* variants as a differnt platform. */ + /* variants as a different platform. */ # endif # endif # if defined(__DJGPP__) @@ -1188,7 +1188,7 @@ # define PREFETCH(x) \ __asm__ __volatile__ (" prefetchnta %0": : "m"(*(char *)(x))) /* Empirically prefetcht0 is much more effective at reducing */ - /* cache miss stalls for the targetted load instructions. But it */ + /* cache miss stalls for the targeted load instructions. But it */ /* seems to interfere enough with other cache traffic that the net */ /* result is worse than prefetchnta. */ # if 0 diff --git a/racket/src/racket/gc/mark.c b/racket/src/racket/gc/mark.c index c53a307bd6..f9ab80f21d 100644 --- a/racket/src/racket/gc/mark.c +++ b/racket/src/racket/gc/mark.c @@ -984,7 +984,7 @@ void GC_do_local_mark(mse *local_mark_stack, mse *local_top) /* Try to share the load, since the main stack is empty, */ /* and helper threads are waiting for a refill. */ /* The entries near the bottom of the stack are likely */ - /* to require more work. Thus we return those, eventhough */ + /* to require more work. Thus we return those, even though */ /* it's harder. */ mse * new_bottom = local_mark_stack + (local_top - local_mark_stack)/2; diff --git a/racket/src/racket/gc/os_dep.c b/racket/src/racket/gc/os_dep.c index 4e647a287b..f5af266a4d 100644 --- a/racket/src/racket/gc/os_dep.c +++ b/racket/src/racket/gc/os_dep.c @@ -1737,7 +1737,7 @@ ptr_t GC_SysVGetDataStart(size_t max_page_size, ptr_t etext_addr) & ~((word)max_page_size - 1)); word page_offset = (text_end & ((word)max_page_size - 1)); volatile char * result = (char *)(next_page + page_offset); - /* Note that this isnt equivalent to just adding */ + /* Note that this isn't equivalent to just adding */ /* max_page_size to &etext if &etext is at a page boundary */ GC_setup_temporary_fault_handler(); @@ -2379,7 +2379,7 @@ PCR_ERes GC_push_thread_stack(PCR_Th_T *t, PCR_Any dummy) } /* Push the contents of an old object. We treat this as stack */ -/* data only becasue that makes it robust against mark stack */ +/* data only because that makes it robust against mark stack */ /* overflow. */ PCR_ERes GC_push_old_obj(void *p, size_t size, PCR_Any data) { @@ -3836,7 +3836,7 @@ static void *GC_mprotect_thread(void *arg) } /* All this SIGBUS code shouldn't be necessary. All protection faults should - be going throught the mach exception handler. However, it seems a SIGBUS is + be going through the mach exception handler. However, it seems a SIGBUS is occasionally sent for some unknown reason. Even more odd, it seems to be meaningless and safe to ignore. */ #ifdef BROKEN_EXCEPTION_HANDLING diff --git a/racket/src/racket/gc/pthread_support.c b/racket/src/racket/gc/pthread_support.c index 8c59a4479a..0ca4ae5176 100644 --- a/racket/src/racket/gc/pthread_support.c +++ b/racket/src/racket/gc/pthread_support.c @@ -129,7 +129,7 @@ unsigned long GC_lock_holder = NO_THREAD; # 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 *, const pthread_attr_t *, void * (*)(void *), void *); diff --git a/racket/src/racket/gc/threadlibs.c b/racket/src/racket/gc/threadlibs.c index 667fa2f602..273dcdd3b2 100644 --- a/racket/src/racket/gc/threadlibs.c +++ b/racket/src/racket/gc/threadlibs.c @@ -57,7 +57,7 @@ int main() printf("-pthread -lrt"); /* DOB: must be -pthread, not -lpthread */ # endif /* You need GCC 3.0.3 to build this one! */ - /* DG/UX native gcc doesnt know what "-pthread" is */ + /* DG/UX native gcc doesn't know what "-pthread" is */ # if defined(GC_DGUX386_THREADS) printf("-ldl -pthread\n"); # endif diff --git a/racket/src/racket/gc/typd_mlc.c b/racket/src/racket/gc/typd_mlc.c index dc0118a591..4e4f6817f9 100644 --- a/racket/src/racket/gc/typd_mlc.c +++ b/racket/src/racket/gc/typd_mlc.c @@ -28,7 +28,7 @@ * must trace the complex_descriptor. * * Note that descriptors inside objects may appear cleared, if we encounter a - * false refrence to an object on a free list. In the GC_descr case, this + * false reference to an object on a free list. In the GC_descr case, this * is OK, since a 0 descriptor corresponds to examining no fields. * In the complex_descriptor case, we explicitly check for that case. * diff --git a/racket/src/racket/gc2/block_cache.c b/racket/src/racket/gc2/block_cache.c index fc341c804d..e2ee50ce81 100644 --- a/racket/src/racket/gc2/block_cache.c +++ b/racket/src/racket/gc2/block_cache.c @@ -439,7 +439,7 @@ static void block_cache_protect_one_page(BlockCache* bc, void *p, size_t len, in GC_ASSERT(pos < (b->size >> LOG_APAGE_SIZE)); GC_ASSERT(BD_MAP_GET_BIT(b->alloc_map, pos)); /* Since a queued mprotect affects more pages than the client can be sure of, - we have to accomodate redundant requests. */ + we have to accommodate redundant requests. */ if (writeable) { if (BD_MAP_GET_BIT(b->protect_map, pos)) { BD_MAP_UNSET_BIT(b->protect_map, pos); diff --git a/racket/src/racket/gc2/newgc.c b/racket/src/racket/gc2/newgc.c index ec7581d87e..f762269462 100644 --- a/racket/src/racket/gc2/newgc.c +++ b/racket/src/racket/gc2/newgc.c @@ -5841,9 +5841,9 @@ static void garbage_collect(NewGC *gc, int force_full, int no_full, /* new memory use; gen0_phantom_count can be non-zero due to phantom-bytes record in generation 1/2: */ gc->memory_in_use + gc->gen0_phantom_count, - /* original memory use, including adminstrative structures: */ + /* original memory use, including administrative structures: */ old_mem_allocated, - /* new memory use with adminstrative structures: */ + /* new memory use with administrative structures: */ mmu_memory_allocated(gc->mmu)+gc->phantom_count+gc->gen0_phantom_count, gc->child_gc_total); unpark_for_inform_callback(gc); diff --git a/racket/src/racket/src/gmp/gmp.c b/racket/src/racket/src/gmp/gmp.c index 40d1006cdb..58a811ee39 100644 --- a/racket/src/racket/src/gmp/gmp.c +++ b/racket/src/racket/src/gmp/gmp.c @@ -3111,7 +3111,7 @@ mpn_sqrtrem (mp_ptr sp, mp_ptr rp, mp_srcptr np, mp_size_t nn) return rn; } -/* mpn_bz_divrem_n and auxilliary routines. */ +/* mpn_bz_divrem_n and auxiliary routines. */ /* [1] Fast Recursive Division, by Christoph Burnikel and Joachim Ziegler, diff --git a/racket/src/racket/src/jitstate.c b/racket/src/racket/src/jitstate.c index 4bd28fbc0f..3c525a7d09 100644 --- a/racket/src/racket/src/jitstate.c +++ b/racket/src/racket/src/jitstate.c @@ -67,7 +67,7 @@ int scheme_mz_retain_it(mz_jit_state *jitter, void *v) } void scheme_mz_load_retained(mz_jit_state *jitter, int rs, void *obj) -/* obj is a pointer, but not necesarily tagged (in CGC) */ +/* obj is a pointer, but not necessarily tagged (in CGC) */ { if (!SCHEME_INTP((Scheme_Object *)obj) && !SAME_OBJ((Scheme_Object *)obj, scheme_true) diff --git a/racket/src/racket/src/letrec_check.c b/racket/src/racket/src/letrec_check.c index 3040bfed24..ac66a8668a 100644 --- a/racket/src/racket/src/letrec_check.c +++ b/racket/src/racket/src/letrec_check.c @@ -140,7 +140,7 @@ typedef struct Scheme_Deferred_Expr { only need to process it once */ int done; - /* the expression that has been deferred -- usally a Scheme_Lambda, + /* the expression that has been deferred -- usually a Scheme_Lambda, but can be a Scheme_IR_Local for propagation */ Scheme_Object *expr; diff --git a/racket/src/racket/src/linklet.c b/racket/src/racket/src/linklet.c index 16a003010c..e5b3ae29d4 100644 --- a/racket/src/racket/src/linklet.c +++ b/racket/src/racket/src/linklet.c @@ -1267,7 +1267,7 @@ Scheme_Object *scheme_linklet_run_finish(Scheme_Linklet* linklet, Scheme_Instanc /* Double-check that the definition-installing part of the continuation was not skipped. Otherwise, the compiler would not be able to assume that a variable reference that is - lexically later (incuding a reference to an imported + lexically later (including a reference to an imported variable) always references a defined variable. Putting the prompt around a definition's RHS might be a better approach, but that would change the language (so mabe next diff --git a/racket/src/racket/src/resolve.c b/racket/src/racket/src/resolve.c index 4e56ca457d..b97b8a398e 100644 --- a/racket/src/racket/src/resolve.c +++ b/racket/src/racket/src/resolve.c @@ -51,7 +51,7 @@ struct Resolve_Info `instance_pos` in an `Scheme_IR_Topelevel`). */ int *toplevel_deltas; /* shifts for toplevels in the import range to - accomodate removals */ + accommodate removals */ Scheme_Hash_Table *toplevel_defns; /* for pruning unused definitions, if some definitions are unexported diff --git a/racket/src/racket/src/thread.c b/racket/src/racket/src/thread.c index 9aa5c7e148..4b41b8556e 100644 --- a/racket/src/racket/src/thread.c +++ b/racket/src/racket/src/thread.c @@ -1456,8 +1456,8 @@ Scheme_Thread *scheme_do_close_managed(Scheme_Custodian *m, Scheme_Exit_Closer_F m->shut_down = 1; /* Need to kill children first, transitively, so find - last decendent. The family will be the global-list from - m to this last decendent, inclusive. */ + last descendant. The family will be the global-list from + m to this last descendant, inclusive. */ for (c = m; CUSTODIAN_FAM(c->children); ) { for (c = CUSTODIAN_FAM(c->children); CUSTODIAN_FAM(c->sibling); ) { c = CUSTODIAN_FAM(c->sibling); @@ -4560,7 +4560,7 @@ void scheme_break_main_thread_at(void *p) } void scheme_break_main_thread() -/* Calling this function from an arbitary +/* Calling this function from an arbitrary thread is dangerous when therad locals are enabled. */ { scheme_break_main_thread_at((void *)&delayed_break_ready); @@ -4844,8 +4844,8 @@ void scheme_thread_block(float sleep_time) shrink_cust_box_array(); /* Scheduling queries might involve callbacks through the FFI that put - the runtime system into `scheme_no_stack_overflow` mode. Immitate - the foriegn-call entry point with an extra check that we have enough + the runtime system into `scheme_no_stack_overflow` mode. Imitate + the foreign-call entry point with an extra check that we have enough stack to survive in foreign functions. */ if (!scheme_no_stack_overflow && scheme_is_stack_too_shallow()) { p->sleep_end = sleep_time; /* an abuse of the `sleep_end` field to @@ -8935,7 +8935,7 @@ static void run_gc_callbacks(int pre) for (j = 0; j < SCHEME_VEC_SIZE(acts); j++) { act = SCHEME_VEC_ELS(acts)[j]; protocol = SCHEME_VEC_ELS(act)[0]; - /* The set of suported protocols is arbitary, based on what we've needed + /* The set of suported protocols is arbitrary, based on what we've needed so far. */ if (!strcmp(SCHEME_SYM_VAL(protocol), "int->void")) { gccb_Int_to_Void proc; diff --git a/racket/src/racket/src/unwind/libunwind.c b/racket/src/racket/src/unwind/libunwind.c index 7b478d0ac5..74c7da13ba 100644 --- a/racket/src/racket/src/unwind/libunwind.c +++ b/racket/src/racket/src/unwind/libunwind.c @@ -855,7 +855,7 @@ parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, return 0; } -/* Extract proc-info from the FDE starting at adress ADDR. +/* Extract proc-info from the FDE starting at address ADDR. Pass BASE as zero for eh_frame behaviour, or a pointer to debug_frame base for debug_frame behaviour. */ diff --git a/racket/src/regexp/match/interp.rkt b/racket/src/regexp/match/interp.rkt index d27ff560d5..7647a193a8 100644 --- a/racket/src/regexp/match/interp.rkt +++ b/racket/src/regexp/match/interp.rkt @@ -5,7 +5,7 @@ ;; Compilation produces a matcher function; see "match.rkt" (define (interp m ; the compiled matcher function s ; input bytes or lazy-bytes - pos ; starting seach position, can be > `start`, must be < `limit` + pos ; starting search position, can be > `start`, must be < `limit` start ; input start in the sense of `^`; don't read before this limit/end ; don't read past `limit`; `end` corresponds to `$` and can be < `limit` state) ; vector where group position-pair matches are installed diff --git a/racket/src/rktio/rktio.h b/racket/src/rktio/rktio.h index a4dbbaef11..ef4b9b490f 100644 --- a/racket/src/rktio/rktio.h +++ b/racket/src/rktio/rktio.h @@ -475,7 +475,7 @@ RKTIO_EXTERN_ERR(RKTIO_WRITE_ERROR) intptr_t rktio_udp_sendto(rktio_t *rktio, rktio_fd_t *rfd, RKTIO_NULLABLE rktio_addrinfo_t *addr, const char *buffer, intptr_t len); /* Extends `rktio_write` to accept a destination `addr`, and binds `rfd` if it - is not bound aready. The `addr` can be NULL if the socket is connected. */ + is not bound already. The `addr` can be NULL if the socket is connected. */ RKTIO_EXTERN_ERR(RKTIO_WRITE_ERROR) intptr_t rktio_udp_sendto_in(rktio_t *rktio, rktio_fd_t *rfd, RKTIO_NULLABLE rktio_addrinfo_t *addr, @@ -541,7 +541,7 @@ RKTIO_EXTERN rktio_bool_t rktio_is_ok_envvar_name(rktio_t *rktio, rktio_const_st RKTIO_EXTERN rktio_bool_t rktio_are_envvar_names_case_insensitive(rktio_t *rktio); /* Checks whether environment variables are case-folded by the OS. That doesn't mean that clients need to case-fold names, but clients - may want to immitate the OS. */ + may want to imitate the OS. */ RKTIO_EXTERN char *rktio_getenv(rktio_t *rktio, rktio_const_string_t name); /* Gets an environment variable value, or reports @@ -710,7 +710,7 @@ RKTIO_EXTERN void rktio_poll_set_add_eventmask(rktio_t *rktio, rktio_poll_set_t RKTIO_EXTERN void rkio_reset_sleep_backoff(rktio_t *rktio); /* Call this function when using `rktio_poll_set_add_eventmask` and when matching events are not always consumed from the queue between - sleeps. To accomodate messages that are not consumed, the poll set + sleeps. To accommodate messages that are not consumed, the poll set will actually only sleep a short while at first, and then back off exponentially. Call this function when your program does useful work (instead of spinning on sleep) to reset the backoff diff --git a/racket/src/rktio/rktio_convert.c b/racket/src/rktio/rktio_convert.c index 0eb814ae7a..bc57524d36 100644 --- a/racket/src/rktio/rktio_convert.c +++ b/racket/src/rktio/rktio_convert.c @@ -143,7 +143,7 @@ static void init_iconv() iconv_errno = (errno_proc_t)GetProcAddress(m, "_errno"); if (!iconv_errno) { /* The iconv.dll distributed with Racket links to msvcrt.dll. - It's a slighly dangerous assumption that whatever iconv we + It's a slightly dangerous assumption that whatever iconv we found also uses msvcrt.dll. */ m = LoadLibraryW(L"msvcrt.dll"); if (m) { diff --git a/racket/src/rktio/rktio_fd.c b/racket/src/rktio/rktio_fd.c index 44c6a45b8f..78d9fe2546 100644 --- a/racket/src/rktio/rktio_fd.c +++ b/racket/src/rktio/rktio_fd.c @@ -1423,7 +1423,7 @@ intptr_t rktio_write(rktio_t *rktio, rktio_fd_t *rfd, const char *buffer, intptr if (towrite) ok = WriteConsoleW((HANDLE)rfd->fd, w_buffer, towrite, &winwrote, NULL); else { - /* can happend if can_leftover is > 0 */ + /* can happen if can_leftover is > 0 */ ok = 1; winwrote = 0; } diff --git a/racket/src/schemify/interpret.rkt b/racket/src/schemify/interpret.rkt index bc43d446fd..225b89f97b 100644 --- a/racket/src/schemify/interpret.rkt +++ b/racket/src/schemify/interpret.rkt @@ -106,7 +106,7 @@ (hash-set env arg (+ stack-depth i)))) (define body-vars-index (+ num-args stack-depth)) ;; Gather all the names that have `define`s, and build up the - ;; enviornment that has them consceptually pushed after the + ;; environment that has them consceptually pushed after the ;; import and export variables. (define-values (body-env num-body-vars) (for/fold ([env args-env] [num-body-vars 0]) ([e (in-wrap-list body)]) diff --git a/racket/src/schemify/intmap.rkt b/racket/src/schemify/intmap.rkt index a81fc9f764..aab5ecb7d3 100644 --- a/racket/src/schemify/intmap.rkt +++ b/racket/src/schemify/intmap.rkt @@ -4,7 +4,7 @@ ;; Simplified version of Jon Zeppieri's intmap ;; implementation for Racket-on-Chez. -;; This one always has fixnum keys, doens't have +;; This one always has fixnum keys, doesn't have ;; to hash, doesn't have to deal with collisions, ;; and doesn't need a wrapper to distinguish ;; the type and record the comparison function. diff --git a/racket/src/setup-go.rkt b/racket/src/setup-go.rkt index 21cd27d790..98dc6e3266 100644 --- a/racket/src/setup-go.rkt +++ b/racket/src/setup-go.rkt @@ -29,7 +29,7 @@ ;; The point of going through `setup/main` is that the Racket module ;; gets compiled as needed, so that it doesn't have to be loaded from ;; source every time. At the same time `setup/main` detects when files -;; need to be recompiled, either becuase the underlying Racket's +;; need to be recompiled, either because the underlying Racket's ;; version changed or because a dependency changed. (provide go) diff --git a/racket/src/start/MemoryModule.h b/racket/src/start/MemoryModule.h index a728f6b141..3aaade1f7a 100644 --- a/racket/src/start/MemoryModule.h +++ b/racket/src/start/MemoryModule.h @@ -139,7 +139,7 @@ BOOL MemoryDefaultFree(LPVOID, SIZE_T, DWORD, void *); /** * Default implementation of CustomLoadLibraryFunc that calls LoadLibraryA - * internally to load an additional libary. + * internally to load an additional library. * * This is the default as used by MemoryLoadLibrary. */ @@ -155,7 +155,7 @@ FARPROC MemoryDefaultGetProcAddress(HCUSTOMMODULE, LPCSTR, void *); /** * Default implementation of CustomFreeLibraryFunc that calls FreeLibrary - * internally to release an additional libary. + * internally to release an additional library. * * This is the default as used by MemoryLoadLibrary. */ diff --git a/racket/src/thread/custodian-object.rkt b/racket/src/thread/custodian-object.rkt index 43af066c37..c261d361cf 100644 --- a/racket/src/thread/custodian-object.rkt +++ b/racket/src/thread/custodian-object.rkt @@ -22,7 +22,7 @@ [gc-roots #:mutable] ; weak references to charge to custodian; access without interrupts [memory-limits #:mutable] ; list of (cons limit cust) [immediate-limit #:mutable] ; limit on immediate allocation - [sync-futures? #:mutable] ; whether a sync witht future threads is needed on shutdown + [sync-futures? #:mutable] ; whether a sync with future threads is needed on shutdown [post-shutdown #:mutable]) ; callbacks to run in atomic mode after shutdown #:authentic) diff --git a/racket/src/thread/custodian.rkt b/racket/src/thread/custodian.rkt index 48a4950d0a..c6aeb5777c 100644 --- a/racket/src/thread/custodian.rkt +++ b/racket/src/thread/custodian.rkt @@ -445,7 +445,7 @@ (define compute-memory-sizes 0) (void (set-reachable-size-increments-callback! - ;; Called in an arbitary host thread, with interrupts off and all other threads suspended: + ;; Called in an arbitrary host thread, with interrupts off and all other threads suspended: (lambda (compute-size-increments) (unless (zero? compute-memory-sizes) (host:call-with-current-place-continuation diff --git a/racket/src/thread/thread.rkt b/racket/src/thread/thread.rkt index 79ccd02d71..5adad30509 100644 --- a/racket/src/thread/thread.rkt +++ b/racket/src/thread/thread.rkt @@ -444,7 +444,7 @@ ;; Extends `do-thread-deschdule!` where `t` is always `(current-thread)`. ;; The `interrupt-callback` is called if the thread receives a break ;; signal, is killed, or is suspended; if the break signal is -;; supressed or resumed, then `retry-callback` is called to try again +;; suppressed or resumed, then `retry-callback` is called to try again ;; --- but `retry-callback` will only be used if `interrupt-callback` ;; was previously called, and neither is called if the thread is ;; "internal"-resumed normally instead of by a break signal of a