6 مستودعات
Assertion mechanisms that can be safely called from multiple concurrent threads without data races.
Distinct from Concurrency & Threading: Focuses specifically on thread-safe verification of conditions during testing, not general concurrency management or synchronization primitives.
Explore 6 awesome GitHub repositories matching part of an awesome list · Thread-Safe Assertions. Refine with filters or upvote what's useful.
doctest هو إطار عمل لاختبار الوحدات ومكتبة تأكيدات لـ C++ يتم توفيرها كمكتبة ذات رأس واحد (single-header). يوفر مشغل اختبار مع واجهة سطر أوامر لتنفيذ الاختبارات، وتصفية مجموعات الاختبار، وإنشاء تقارير التنفيذ. يدعم إطار العمل اختبار الوحدات داخل الكود ويسمح بالإزالة الكاملة لمنطق الاختبار من الملفات الثنائية المجمعة عبر تجريد المعالج المسبق للقضاء على عبء الأداء في بيئات الإنتاج. كما يتيح مشاركة سجل الاختبار عبر الملفات الثنائية، مما يسمح لملف تنفيذي واحد باستخدام مشغل الاختبار الخاص بآخر. تشمل القدرات الاختبار بمعاملات، والتحقق من التأكيدات الآمنة للخيوط (thread-safe) للتحقق من البرمجيات المتزامنة، وإعداد تقارير الاختبار الآلية لتحليل الانحدار. يستخدم تسجيل الاختبار التلقائي لجمع حالات الاختبار دون الحاجة إلى قوائم يدوية للدوال المراد تنفيذها.
Implements thread-safe assertion verification to validate shared data consistency in concurrent software.
doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation that eliminates complex build dependencies, allowing developers to write and execute test cases directly within their source code. The framework is distinguished by its focus on compile-time performance and binary overhead. It uses conditional compilation guards to strip all testing logic and metadata from production binaries. Additionally, it features hierarchical subcases that re-execute parent setup code to isolate different execution paths within a single test case. Its c
Provides a thread-safe assertion library for verifying runtime logic outside of standard test cases.
CppGuide is a curated collection of educational resources and practical guides focused on C++ server development, Linux kernel internals, concurrent programming, network protocols, and security exploitation. It provides structured learning paths for backend developers, covering everything from interview preparation to building high-performance network servers and understanding operating system fundamentals. The guide distinguishes itself by offering in-depth, hands-on tutorials that walk through real-world implementations, including building a Redis-like server from scratch, designing custom
Provides a guide for identifying and safely using non-thread-safe C library functions in multithreaded programs.
This is an open-source, crowd-sourced wiki textbook that teaches Linux system programming in C. It covers the core operating system concepts of process management through the fork-exec-wait model, dynamic memory allocation using implicit free list heap allocators, inode-based file systems, inter-process communication via pipes and shared memory, POSIX threads with synchronization primitives, signal-based asynchronous notification, virtual memory with page table translation, and runtime diagnostics using Valgrind and GDB. The textbook distinguishes itself by providing practical, implementation
Teaches the pitfall of passing stack pointers to threads, a common C concurrency bug.
seL4 is a formally verified microkernel whose C implementation is backed by machine-checked mathematical proofs of correctness, confidentiality, integrity, and availability. It enforces strict isolation between processes through hardware-enforced address space separation and a capability-based access control system, where each process holds explicit rights only to the resources it has been granted. The kernel exposes hardware resources through a minimal API of system calls that manage threads, address spaces, and inter-process communication, with synchronous IPC supporting sender-identifying b
Provides kernel API to set initial register values for a thread's function call including arguments.
هذه المكتبة هي أداة قائمة على Java لفرض قيود هيكل البيانات والتحقق من التنسيقات التقنية مقابل مواصفات المخطط المحددة. تعمل كأداة معالجة تقوم بتحليل هياكل البيانات المعقدة مع إدارة مراجع المخطط الخارجية والتبعيات الدائرية. يتميز المحرك بتصميم معالج غير قابل للتغيير (immutable) يتيح تحققاً متزامناً وآمناً للخيوط (thread-safe) دون الحاجة إلى مزامنة خارجية. يستخدم الحساب عالي الدقة لتقييم القيود الرقمية، مما يمنع أخطاء تقريب الفاصلة العائمة الشائعة، ويستخدم معالجة على مستوى الأحرف لضمان التحقق من السلاسل النصية الواعية بـ Unicode للرموز المعقدة. يمكن للمطورين توسيع خط الأنابيب الأساسي عن طريق تسجيل كلمات رئيسية مخصصة ومعالجات تنسيق لتنفيذ منطق أعمال متخصص. يوفر المشروع إدارة شاملة للمخطط، بما في ذلك فحص الامتثال الهيكلي مقابل المخططات الوصفية، ودقة التبعية القائمة على URI، وتحميل المخطط القابل للتكوين. يدعم تقارير الأخطاء المفصلة التي تستمر في التحقق عبر العناصر الفرعية حتى بعد فشل العناصر الأصلية، ويتضمن واجهة سطر أوامر للتحقق من البيانات المستندة إلى الطرفية.
Performs validation using immutable processors that allow a single instance to be shared safely across multiple concurrent application threads.