CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 19:38:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"9947aa10a47189f9285d69bf5c465e81"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Rjxew7Uo1w6rh3T%2F1yOM6jUG4A%2FN2bVnHlBTjtKXXUznBP%2BMqlFDBgCYmDMEtRzGd9sdi6JqIauUQrvAryZ2GCaAODFLlf3u2Sv8lacfILY9lLKun%2FPlbjuJnEnrlC3fmcud7nnDxYRYIcAgK8Z40v7T45n%2Bhre%2B68uTSB%2FVOCugzVOqfrIwvhnk05C5i2WvrAeeFFA0ttbj7PV%2FCuuVzWYulV810ItX5S24tVTSLPV%2F9EtFYXCdnlNNm71wMguzghYzQDtkOAkdHZS13Vjb2Q%3D%3D--CnliM7ME0zkpKqBI--Q2p06zE6uJ5bAWVlXQmvOA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.699110736.1753126685; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 19:38:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 19:38:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8FE4:36EDF7:2A9C83:3351F5:687E971D
GitHub - tinycthread/tinycthread: Small, portable implementation of the C11 threads API
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 127
Small, portable implementation of the C11 threads API
tinycthread/tinycthread
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TinyCThread v1.2 ================ https://tinycthread.github.io About ----- TinyCThread is a minimalist, portable, threading library for C, intended to make it easy to create multi threaded C applications. The library is closesly modeled after the C11 standard, but only a subset is implemented at the moment. See the documentation in the doc/html directory for more information. Using TinyCThread ----------------- To use TinyCThread in your own project, just add tinycthread.c and tinycthread.h to your project. In your own code, do: #include <tinycthread.h> TinyCThread also includes CMake support, so if your project uses CMake you can just `add_subdirectory(tinycthread)`. Then simply add the tinycthread target (using `target_link_libraries`) where necessary and CMake will take care of everything else, including adding the correct include directory and CTest integration. Building the test programs -------------------------- From the test folder, issue one of the following commands: Linux, Mac OS X, OpenSolaris etc: make (you may need to use gmake on some systems) Windows/MinGW: mingw32-make Windows/MS Visual Studio: nmake /f Makefile.msvc History ------- v1.2 - Unreleased - Updated API to better match the final specification (e.g. removed mtx_try) - Improved Windows support, including TSS destructors - Added once support - Improved unit testing - Added CMake support - Assorted bug fixes v1.1 - 2012.9.8 - First release. - Updated API to better match the final specification (e.g. removed xtime). - Some functionality still missing (mtx_timedlock, TSS destructors under Windows, ...). v1.0 - Never released - Development version based on C11 specification draft. License ------- Copyright (c) 2012 Marcus Geelnard 2013-2016 Evan Nemerson This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.
About
Small, portable implementation of the C11 threads API
Resources
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.