![]() With this option, FFI calls always block until scheme_check_foreign_work is called by the program embedding Racket. This is needed for embedding Racket into contexts where you do not control the event loop, need Racket to make FFI calls, and those FFI calls must occur on a thread within the event loop. A good example of this is with OpenGL FFI calls that require the current thread to hold the OpenGL/EGL context. An important point about this is that scheme_check_foreign_work will only execute a single FFI call. So if this is used for OpenGL rendering, you'll want to run it a lot. |
||
---|---|---|
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
appveyor.yml | ||
INSTALL.txt | ||
Makefile | ||
README.md |
This is the source code for the core of Racket. See "INSTALL.txt" for full information on building Racket.
To build the full Racket distribution from this repository, run make
in the top-level directory. To build the Minimal Racket, run make base
.
The rest of the Racket distribution source code is in other repositories under the Racket GitHub organization.
Contribute to Racket by submitting a pull request, joining the development mailing list, or visiting the IRC channel.
License
Racket Copyright (c) 2010-2016 PLT Design Inc.
Racket is distributed under the GNU Lesser General Public License (LGPL). This implies that you may link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular states that you must release the source code for the modified software.
See racket/src/COPYING_LESSER.txt for more information.