6 مستودعات
Input/output operations that halt program execution until the requested data transfer is complete.
Distinct from Blocking I/O Offloading: Focuses on the blocking nature of the I/O call rather than offloading or specific data types.
Explore 6 awesome GitHub repositories matching operating systems & systems programming · Synchronous Blocking I/O. Refine with filters or upvote what's useful.
Hiredis is a minimalistic C client library designed to send commands and receive responses from Redis servers using a binary-safe protocol. It functions as a core toolkit providing a Redis protocol parser, a secure connector, and both synchronous and asynchronous driver interfaces. The library distinguishes itself through a decoupled protocol parser that converts raw byte streams into structured data objects independently of the network transport layer. It supports high-performance pipelining to batch multiple commands into a single network round-trip and provides a secure networking layer fo
Provides synchronous command execution that waits for the server response before returning control.
Promptui is a Go library for building interactive command-line prompts, providing components for collecting text input with validation, presenting scrollable selection lists, and enabling dynamic addition of list items. It serves as a toolkit for creating terminal user interfaces where users can navigate menus, search options, and enter text with live validation and masking. The library implements interactive prompts through a synchronous blocking I/O model combined with ANSI cursor control and terminal-event-driven rendering, allowing for real-time UI updates. Its template-driven output form
Blocks the calling goroutine on each prompt invocation, using a single OS thread to read input and write output sequentially.
libusb is a cross-platform user-space library that provides a consistent C API for discovering, configuring, and communicating with USB devices from applications. It abstracts operating-system-specific USB driver details behind a single interface that works on Linux, macOS, Windows, and other platforms, enabling developers to write portable USB code without platform-specific knowledge. The library supports both synchronous and asynchronous I/O models for USB transfers. Synchronous operations block the calling thread until a transfer completes, offering a straightforward sequential programming
Provides synchronous blocking USB transfers for a straightforward sequential programming interface.
Beast هي مكتبة C++ لتنفيذ عملاء وخوادم HTTP وWebSocket منخفضة المستوى. تعمل كإطار عمل للشبكات غير المتزامنة مصمم لتركيب عمليات الإدخال/الإخراج غير المحظورة (non-blocking I/O) ومكدسات التدفق الطبقية لإدارة حركة مرور الشبكة المتزامنة، وتحديداً باستخدام نموذج Boost.Asio غير المتزامن. توفر المكتبة تنفيذاً شاملاً لبروتوكولات HTTP/1.1 وWebSocket. بالنسبة لـ HTTP، تتضمن بدائيات لتحليل وتسلسل الرسائل مع دعم لترميز النقل المجزأ (chunked transfer encoding)، وقراءة الجسم التزايدية، وخطوط أنابيب الطلبات. يغطي تنفيذ WebSocket دورة الحياة الكاملة للاتصال ثنائي الاتجاه، بما في ذلك المصافحات، والتفاوض على البروتوكول الفرعي، وتجزئة الرسائل، ومراقبة الحيوية عبر إطارات التحكم. تتضمن Beast مجموعة متخصصة من الأدوات لإدارة مخازن الشبكة المؤقتة لتحسين الإدخال/الإخراج من نوع scatter-gather من خلال مخازن ذاكرة ديناميكية وقائمة على التسلسل. كما تغطي اتصالات الشبكة الآمنة عبر دمج طبقات SSL/TLS للتدفقات المشفرة، ومصادقة الشهادات، وإنهاء الاتصال الآمن. يوفر إطار العمل تجريدات عبر المنصات للإدخال/الإخراج للملفات وإدارة إشارات النظام لدعم تطوير تطبيقات شبكة مستقرة.
Provides blocking read and write operations on streams that return results immediately.
Spider هي مكتبة زحف ويب متعددة الخيوط واستخراج روابط مصممة لاجتياز مواقع الويب المنهجي وجمع البيانات. تعمل كأداة لاكتشاف وفهرسة الروابط التشعبية عبر النطاقات، مما يتيح رسم خرائط لهيكل الموقع وجمع المعلومات المهيكلة. تستخدم الأداة نموذج تزامن تجمع الخيوط لجلب وتحليل صفحات ويب متعددة في وقت واحد، مما يزيد من إنتاجية الشبكة أثناء عملية الزحف. تدير التنقل من خلال حدود قائمة على طابور مركزي وتستخدم تتبع الحالة في الذاكرة لضمان إلغاء التكرار الفعال ومنع المعالجة الزائدة. يدعم البرنامج مجموعة من المهام المؤتمتة، بما في ذلك تدقيق موقع الويب لتحديد الروابط المعطلة أو المشكلات الهيكلية، وتحليل حركة مرور الشبكة، وفهرسة المحتوى لأنظمة استرجاع المعلومات. يعتمد على استخراج الروابط القائم على النمط لعزل عناوين الويب الصالحة من المحتوى الخام. تم تنفيذ المشروع بلغة Python ويوفر واجهة برمجية للتكامل في سير عمل معالجة البيانات الأكبر.
Utilizes blocking I/O operations within worker threads to simplify state management during web page fetching.
This project is a PHP library designed for establishing persistent, bidirectional communication channels using the WebSocket protocol. It functions as both a client and a server implementation, providing the necessary tools to initiate connections with remote endpoints or host custom messaging services. The library manages the full lifecycle of network connections, including the initial HTTP handshake negotiation required to upgrade standard web traffic to a persistent stream. It utilizes low-level stream resources to handle data flow and incorporates automated heartbeat signals to monitor co
Executes network operations in a linear, blocking fashion where the process waits for data transmission to complete.