摘要:
A technique to monitor software thread performance and update software that issues or uses the thread(s) to reduce performance-inhibiting events. At least one embodiment of the invention uses hardware and/or software timers or counters to monitor various events associated with executing user-level threads and report these events back to a user-level software program, which can use the information to avoid or at least reduce performance-inhibiting events associated with the user-level threads.
摘要:
A method for detecting race conditions in a concurrent processing environment is provided. The method comprises implementing a data structure configured for storing data related to at least one task executed in a concurrent processing computing environment, each task represented by a node in the data structure; and assigning to a node in the data structure at least one of a task number, a wait number, and a wait list; wherein the task number uniquely identifies the respective task, wherein the wait number is calculated based on a segment number of the respective task's parent node, and wherein the wait list comprises at least an ancestor's wait number. The method may further comprise monitoring a plurality of memory locations to determine if a first task accesses a first memory location, wherein said first memory location was previously accessed by a second task.
摘要:
The present disclosure relates to acquiring and releasing a shared resource via a lock semaphore and, more particularly, to acquiring and releasing a shared resource via a lock semaphore utilizing a state machine.
摘要:
An arrangement is provided for detecting deadlocks in a multithreaded program. When a thread in a multithreaded program performs a resource operation related to a mutually exclusive shared resource, it creates relationships between the thread and the shared resource as well as between the thread and other threads of the multithreaded program. Such created relationships are monitored and used to detect deadlocks.
摘要:
A method and apparatus for a atomic operation is described. A method comprises receiving a first program unit in a parallel computing environment, the first program unit including a memory update operation to be performed atomically, the memory update operation having an operand, the operand being of a data-type and of a data size, and translating the first program unit into a second program unit, the second program unit to associate the memory update operation with a set of one or more low-level instructions upon determining that the data size of the operand is supported by the set of low-level instructions, the set of low-level instructions to ensure atomicity of the memory update operation.
摘要:
A software-implemented method for validating the correctness of parallel computer programs, written in various programming languages, with respect to these programs' corresponding sequential computer programs. Validation detects errors that could cause parallel computer programs to behave incorrectly or to produce incorrect results, and is accomplished by transforming these parallel computer programs under the control of a general purpose computer and sequentially executing the resulting transformed programs. The validation method is system-independent and is portable across various computer architectures and platforms since validation is accomplished via program transformation; thus, the method does not depend on the features of a particular hardware architecture or configuration, operating system, compiler, linker, or thread environment. The input to the validation method is a parallel computer program. The parallel computer program results from annotating its corresponding sequential computer program with a parallelism specification; the annotations describe constraints in the sequential program to be relaxed to allow the exploitation of parallelism. Validation is accomplished by detecting semantic inconsistencies between the parallel computer program and its corresponding sequential computer program. The validation method translates the input parallel computer program into a second, sequential computer program such that the second sequential computer program, when executed, detects and reports the semantic inconsistencies between the parallel computer program and its corresponding sequential computer program.
摘要:
The present invention is directed to multireactivity polymercaptans, star-shaped copolymers and methods of preparing wherein the polymer comprises a polyvalent mercaptan core and three or more polymeric arms which extend radially from the core. The polyvalent mercaptan core comprises three or more thiol groups, wherein at least two of the thiol groups are of different reactivities, such that the core is of differential reactivity. These multifunctional thiols, which will be referred to as cores of differential reactivity, act as chain transfer agents in a free radical polymerization process.
摘要:
A water-soluble or water-dispersible amino acid copolymer having pendent polysaccharide moieties. The invention also provides a method for cleaning an article and a method of providing soil resistance to an article using the amino acid copolymer having pendent polysaccharide moieties. The amino acid copolymers are useful in cleaning compositions such as laundry detergents, dishwashing detergents, prespotters, fabric softeners, and hard surface cleaners.
摘要:
A water-soluble or water-dispersible amino acid copolymer having pendent polysaccharide moieties. The invention also provides a method for cleaning an article and a method of providing soil resistance to an article using the amino acid copolymer having pendent polysaccharide moieties. The amino acid copolymers are useful in cleaning compositions such as laundry detergents, dishwashing detergents, prespotters, fabric softeners, and hard surface cleaners.
摘要:
Water-treatment compositions are provided which contain a water-soluble, water-treatment polymer and, optionally, additional water-treatment chemicals. The polymers are prepared from water-treatment monomers and a photo-inert, latently-detectable moiety which is covalently bonded to the polymer backbone. When the residue of the photo-inert moiety is contacted with an amount of a photoactivator which is effective to cause the residue of the photo-inert moiety to absorb within a wavelength ranging from 300 to 800 nanometers, the residue of the photo-inert moiety is detectable at concentrations of less than 100 parts per million. Methods are also provided which allow for the determination of the concentration of low levels, i.e., less than 100 ppm, of the water-treatment polymer present in an aqueous system.