Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of Threads. So just take the IMAP connection pool and convert that to a pool of Threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
標簽: connection pool applications program
上傳時間: 2013-12-25
上傳用戶:playboys0
The Spectral Toolkit is a C++ spectral transform library written by Rodney James and Chuck Panaccione while at the National Center for Atmospheric Research between 2002 and 2005. The library contains a functional subset of FFTPACK and SPHEREPACK, including real and complex FFTs in 1-3 dimensions, and a spherical harmonic transform. Multithreading is supported through POSIX Threads for the multidimensional transforms. This reference guide provides details of the public interface as well as the internal implementation of the library.
標簽: Panaccion transform Spectral spectral
上傳時間: 2013-12-20
上傳用戶:haoxiyizhong
Windows API Tutorials, Windows API編程最好的手冊.文檔格式專門制作成為各個章節相互關聯的html格式,大家可以像查閱msdn一樣方便使用.各個章節的內容如下: Winnie Generic Controls Dialog-based App Generic Dialog Canvas Pens and Brushes Threads Folder Watcher Shell API OLE Smart OLE OLE Automation Splitter Bar
標簽: Windows API Tutorials html
上傳時間: 2015-09-28
上傳用戶:ls530720646
對于CPU線程調度的模擬,CPU Threads control simulation,包括first come first serve算法和run rubbing等,同時輸出線程開始,切換,結束等信息。
上傳時間: 2015-10-25
上傳用戶:wyc199288
These two classes show an extremely simple example of java.net socket programming. They implement the Unix daytime protocol, an extremely simple protocol that consists entirely of the server sending its current local time and date to the client as an ASCII string. The server, to keep it very simple, does not use multiple Threads. This code requires JDK 1.1 or later, but can easily be adapted to JDK 1.0.
標簽: programming extremely implement classes
上傳時間: 2015-11-16
上傳用戶:jennyzai
ollydbg完全教程。OllyDbg 是一種具有可視化界面的 32 位匯編-分析調試器。它的特別之處在于可以在沒有源代碼時解決問題,并且可以處理其它編譯器無法解決的難題。 一,什么是 OllyDbg? 二,一般原理[General principles] 三,反匯編器[Disassembler] 四,分析器[Analysis] 五,Object掃描器[Object scanner] 六,Implib掃描器 [Implib scanner] 七,如何開始調試[How to start debugging session] 八,CPU 窗口[CPU window] 九,斷點[Breakpoints] 十,內存映射窗口[Memory map window] 十一、十二,監視與監察器[Watches and inspectors] 十三,線程[Threads] 十四,復制到剪切板[Copy to clipboard] 十五,調用棧[Call stack] 十六,調用樹[Call tree] 十七,選項[Options] 十八,搜索[Search] 十九,自解壓文件[Self-extracting (SFX) files] 二十,單步執行與自動執行[Step-by-step execution and animation] 二一,Hit跟蹤[Hit trace]
上傳時間: 2016-01-02
上傳用戶:xhz1993
Write a Java program that demonstrates a high priority thread using sleep to give lower priority Threads a chance to run
標簽: priority demonstrates program thread
上傳時間: 2013-12-06
上傳用戶:chenxichenyue
PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, variants, character sets, lists and other basic data types along with Threads, synchronization objects, IP sockets and named pipes. PTypes also offers message queues as an alternative method of thread synchronization. Its main `target audience is developers of complex network daemons, robots or non-visual client/server applications of any kind
標簽: multithreading alternative Portable includes
上傳時間: 2016-03-25
上傳用戶:lz4v4
Advanced UNIX Programming with Linux 1 Getting Started 2 Writing Good GNU/Linux Software 3 Processes 4 Threads
標簽: Linux Programming Advanced Software
上傳時間: 2013-12-19
上傳用戶:lmeeworm
GNU Common C++ is a very portable and highly optimized class framework for writing C++ applications that need to use Threads and support concurrent sychronization, and that use sockets, XML parsing, object serialization, thread-optimized String and data structure classes, etc. This framework offers a class foundation that hides platform differences from your C++ application so that you need not write platform specific code. GNU Common C++ has been ported to compile nativily on most platforms which support either posix Threads, or on maybe be used with Debian hosted mingw32 to build native threading applications for Microsoft Windows.
標簽: applications framework optimized portable
上傳時間: 2014-01-02
上傳用戶:luke5347