摘要:
Recyclable locking for multi-threaded computing environments is disclosed. In one embodiment, a system includes at least one thread, a pool of locks, at least one object, and a recyclable locking mechanism. Each object has an associated variable. The mechanism associates a lock with an object using the associated variable of the object as a pointer, upon a first request by a thread.
摘要:
An operating system architecture is disclosed. The operating system architecture is configured to provide a user space and a kernel space. The operating system architecture comprises a number of tasks, a message, and a microkernel. The tasks are executed in the user space, while the microkernel is executed in the kernel space. The microkernel supports an application programming interface (API) that is configured to support a limited number of directives, the limited number of directives being substantially fewer in number than a number of directives supported by an application programming interface of a traditional operating system. The microkernel is configured to pass the message from a first one of the tasks to a second one of the tasks by virtue of the application programming interface being configured to support message-passing directives. The microkernel is configured to support inter-task communication by virtue of being configured to pass the message from a first one of the tasks to a second one of the tasks. The application programming interface may also support thread manipulation directives and/or data transfer directives. In one aspect of the embodiment, the operating system architecture employs a client/server architecture, in which the first task acts as a client task and the second task acts as a server task.
摘要:
Methods of providing page protection in digital printing systems having multiple output devices are described. In one embodiment, first and second output devices are provided and have different time constraints for processing predetermined amounts of data which will ultimately be printed on a print medium. One of the time constraints is selected to provide a selected time constraint, and at least one predetermined amount of data is tested against the selected time constraint to determine whether the selected time constraint is satisfied. If the selected time constraint is not satisfied, the predetermined amount of data is transformed into a state which is more likely to satisfy the selected time constraint. In another embodiment, a first processing time constraint of a first output device is determined. The first processing time constraint impacts the manner in which a predetermined amount of data is processed into a printed image. A second processing time constraint of a second output device is determined. The second processing time constraint impacts the manner in which the predetermined amount of data is processed into a printed image. The first and second processing time constraints are compared and responsive to the comparison, the processing time constraint having a lesser magnitude is selected to provide a selected processing time constraint.
摘要:
A model for computer resources based on type and amount is employed in a consistent manner across several layers in a data processing system as a mechanism for providing users with significantly more control over the allocation, utilization and scheduling of resources for user's software applications running on the target computer system.
摘要:
A task schedule is enforced among multiple processes by setting process priorities based upon which tasks are running on which processes and based upon the task schedule. The task scheduling may be provided by a local or global scheduler which uses application information to prioritize tasks. The task schedule, or priority list, is provided at Local Activity Schedulers which schedule the activities for their local execution elements/nodes. Execution of activities locally are performed by any number of processes that reside in each execution element. These processes are assigned operating system priorities by the respective Local Activity Scheduler based on their assigned activities for execution and the task schedule.
摘要:
A system for connecting an external device and a host system includes an input/output code element on a host system linked with the external device. The input/output code element generates a device identification string. The device identification string includes an optional feature component associated with the external device. The optional feature component indicates at least one extra feature that is included with a particular external device, such as an envelope feeder for a printer or an audio component for a wireless Internet appliance. The system further includes an installer linked with the host system. The installer receives the device identification string and parses the string for the optional feature component. The installer creates an add-on identifier key in the host system's registry based on the optional feature component. The system further includes a device driver for operating all features of the external device identified by the device identification string, especially the optional feature component. In particular, the device driver accesses the add-on identifier key in the registry. The device driver includes a device driver configuration component which is modified in accordance with each add-on identifier key to include features associated with the optional feature component.
摘要:
A clustered computer system includes multiple computer systems (or nodes) on a network that can become members of a group to work on a particular task. Each node includes a main thread and one or more work threads. The main thread receives messages from other computer systems in the group, and routes messages intended for the work thread to a response queue and a work queue in the work thread, depending on the type of the message. If the message is a response to a currently-executing task, the message is placed in the response queue in the work thread. If the message is a new non-priority task that needs to be processed, the message is routed to the work queue in the work thread. If the message is a priority message, the message is written to both the work queue and the response queue in the work thread. A priority message processing mechanism uses a priority queue defined in the work thread to assure that the priority message is processed the next time the work thread is ready to process a new task, even if the priority message was received after other tasks have been sent to the work queue.
摘要:
A field is defined in branch instructions which is interpreted by software as “Hint” bits and these bits are used to signal the processor of special circumstances that may arise when doing speculative branch instruction execution to enable better branch address prediction accuracy and a reduction in link stack corruption which improves overall execution times. A programmer or compiler determines if a branch instruction usage fits in the context for a Hint action. If so, the compiler or programmer, using assembly/machine language, sets Hint bits in the branch instruction when it is compiled. If the branch is later speculatively executed, the processor decodes the Hint bits and executes and a hardware action corresponding the decode of the Hint bits. These Hints include four specific Hint actions, however, the field reserved for Hint bits is five bit wide reserving up to thirty-two specific Hint cases may be specified. These Hint cases (or Hint bits) may be interpreted differently for each type of branch instruction supported.
摘要:
A method and system for monitoring service quality in a restaurant are disclosed. Multiple sensor modules are installed at each table of a restaurant for detecting restaurant customer service related information. The detected restaurant customer service related information is transmitted, preferably, over-the-air to a central computer unit having a receiver for receiving the detected restaurant customer service related information transmitted by the sensor modules over-the-air. A display monitor, coupled to the central computer unit, can be utilized to display the detected restaurant customer service related information received by the receiver to a restaurant manager in a real-time basis regardless of whether the restaurant manager is present at the restaurant or at a remote location.
摘要:
Methods and arrangements are provided for use in multiple user computing environments. These methods and arrangements can be configured to allow for a plurality of separate and concurrent desktops and workspaces within the shared computing environment. One method includes creating a separate desktop thread for each user that is authenticated during a logon process, creating a separate desktop associated with each desktop thread, and maintaining a list of desktop threads that are created. In this manner, several users can be logged on simultaneously. In certain implementations, the method further includes establishing a separate user environment associated with each desktop and launching a separate user shell associated with each desktop. The list of desktop threads allows for selective and/or automatic switching from a first desktop to a second desktop without terminating a desktop thread associated with the first desktop. The methods and arrangements are also applicable to remote process logon and switching.