synchronizing using completion function
来源:互联网 发布:碎屏 mac 壁纸高清 编辑:程序博客网 时间:2024/06/10 22:05
essential linux device dirver:
In the following example, 'my_release' is called when module is removed.
But before the module's unloaded, you have to make sure that 'my_thread'
has finished some very important task which will incur harmful effective to
our system if not properly handled. When 'my_thread' has finished the critical
task, call 'complete_and_exit' to signal 'my_release' . In the 'my_releas' side,
it can call 'wait_for_completion' to wait for 'my_thread' to exit. When 'my_release'
return from 'wait_for_completion' call, the module can safely unloaded.
sample code:
- synchronizing using completion function
- Using I/O completion ports with UDP
- Named Pipe Server Using Completion Routines
- using waitKey function
- bingo using function
- Linux gettimeofday() function using
- Completion
- completion
- completion
- completion
- A sample that using the completion port I/O model
- IP Multicasting - Using I/O completion ports with UDP
- Marklogic search development -2.3Search Term Completion Using search:suggest
- 图像修复三:Image Completion using Planar Structure Guidance
- Encrypting Password using md5() function
- sscanf function reference (using of %*)
- text edit control using function
- 3.8 - Using the Print Function
- Mac OS X FAQ整理(都是网络资源)
- Solving the absence of Android source...
- RSSI
- linux命令:du
- 转自Stackoverflow:Parallelization: pthreads or OpenMP?
- synchronizing using completion function
- 对于网站开发中,经常需要取得URL中的参数值。
- abap 在table control(表控件) 实现查找功能
- iPhone 隐藏Status Bar和修改程序名称的小技巧
- linux 应用程序调试初步
- OpenGL怎么用
- 如何判断Javascript对象是否存在
- tomcat + ssl
- IE的onunload事件里调用DWR