Welcome![Sign In][Sign Up]
Location:
Search - dijkstra thread

Search list

[Process-ThreadDijkstra-omp

Description: C语言和OpenMP编写的可在多核或SMP处理器上进行多线程运行的最短路径算法。可了解多核多线程和OpenMP的并行编程技术。-C language and can be prepared OpenMP or multi-core processors on SMP multi-threading to run the shortest path algorithm. Learn to multi-core multi-thread and OpenMP parallel programming technology.
Platform: | Size: 2048 | Author: computing | Hits:

[AlgorithmDijkstraThreads.tar

Description: Multi Thread Implementation of Dijkstra s Shortest Path Algorithm All-to-all. It reads a file in the format: Edges Nodes start end weight Like this: 20 5 1 2 5 1 3 4 2 1 3 2-Multi Thread Implementation of Dijkstra s Shortest Path Algorithm All-to-all. It reads a file in the format: Edges Nodes start end weight Like this: 20 5 1 2 5 1 3 4 2 1 3 2 3 3
Platform: | Size: 19456 | Author: j2deme | Hits:

[Process-ThreadThe-problem-of-product-and-consume

Description: 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程。生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。-The producer- consumer question is a classical advancement synchronization question, this question proposed most early by Dijkstra, with demonstrates the signal quantity mechanism which he proposed.Two threads carries out which in the identical advancement address space.The producer thread production goods, then lay aside the goods in a spatial buffer supply the consumer thread expense.The consumer thread obtains the goods from the buffer, then release buffer.When producer thread production goods, if does not have the spatial buffer available, then the producer thread must wait for the consumer thread releases a spatial buffer.When consumer thread expense goods, if does not have the full buffer, then the consumer thread is blocked, is produced until the new goods.
Platform: | Size: 1024 | Author: 岳豪 | Hits:

[File OperateProdutor---consumidor

Description: 生产者-消费者问题(操作系统)原理与实现: it 分类: Computer Science 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。 -Produtor- consumidor é um clássico problema de sincronizaç ã o de processos Mais Cedo, O problema apresentado por ele para o demo, um semáforo.No Mesmo espaç o de endereç o Dentro de um processo de execuç ã o a produç ã o de Bens produtores de dois FIOs, e OS itens colocados no ar EM um buffer para OS consumidores para o consumo.O FIO do tampã o e de acesso a Bens, liberar O buffer.Quando a produç ã o de Bens produtores buffer vazio, Se nã o está disponível, entã o OS produtores devem aguardar a liberaç ã o de UMA thread de buffer vazio.Quando OS consumidores de Bens de consumo, SEM FIO, com FIO do tampã o, O consumidor será bloqueado até que novos Objetos sã o produzidos.
Platform: | Size: 2048 | Author: 高健 | Hits:

[OS Developwindows_pc

Description: 生产者 消费者问题 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。在同一个进程地址空间内执行的两个线程生产者线程生产物品,然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出来。(prodecer consumer The producer consumer problem is a classic process synchronization problem that was first proposed by Dijkstra to demonstrate the proposed semaphore mechanism. Two threads executed in the same process address space, the producer thread produces the article, and then puts the item in an empty buffer for consumer thread consumption. The consumer thread gets the items from the buffer and then releases the buffer. When the producer thread produces the goods, if there is no empty buffer available, then the producer thread must wait for the consumer thread to release an empty buffer. When consumer threads consume objects, if there is no full buffer, then the consumer thread will be blocked until new items are produced.)
Platform: | Size: 3790848 | Author: ewq1 | Hits:

CodeBus www.codebus.net