码迷,mamicode.com
首页 >  
搜索关键字:routine    ( 212个结果
使用pintools采集函数信息
pintool是intel推出的一个动态插桩工具。pin tool常用的有RTN接口(routine,我的理解就是程序上下文,比如汇编子程序,c/cpp函数之类),INS接口(指令级接口),Image(二进制文件镜像,lib或者exe)我采用RTN模式捕获函数信息。PIN初始化流程如下:在rtnfu...
分类:其他好文   时间:2014-10-03 04:11:33    阅读次数:278
CUDA高性能编程中文实战11章例子中多设备的例子编译提示问题
提示的问题如下: error : argument of type "void *(*)(void *)" is incompatible with parameter of type "CUT_THREADROUTINE"解决方法是将下面的代码void* routine(void *pvoidDa...
分类:其他好文   时间:2014-09-28 13:12:12    阅读次数:323
thread_1
#include #include #include #include void * start_routine(void *arg) { char * a; printf("thread runing,%s\n", (char *)arg); ...
分类:其他好文   时间:2014-09-27 01:44:28    阅读次数:256
pthread_once
/*一次性初始化int pthread_once(pthread_once_t *once_control, void (*init_routine) (void))本函数使用初值为PTHREAD_ONCE_INIT的once_control变量保证init_routine()函数在本进程执行序列中...
分类:其他好文   时间:2014-09-27 01:18:59    阅读次数:192
2线程原语:pthread_create(),pthread_self(),pthread_exit(),pthread_join(),pthread_cancel(),pthread_detach(
?? 1  pthread_create()函数 创建线程 A:依赖的头文件 #include B:函数声明 int pthread_create(pthread_t *thread, constpthread_attr_t *attr, void *(*start_routine) (void *), void *arg); pthread_t ...
分类:编程语言   时间:2014-09-25 19:01:47    阅读次数:290
多线程入门
HANDLE WINAPI CreateThread( LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpPa...
分类:编程语言   时间:2014-09-17 18:28:02    阅读次数:190
faster strlen
From: Will DeWitt Jr. Subject: Fast strlen routine?NewsGroup: borland.public.delphi.language.basmDate Posted: 28-May-2003 at 13:50:4 PST Download...
分类:其他好文   时间:2014-09-17 08:55:12    阅读次数:361
Linux下多线程编程之互斥锁、条件变量、信号量
1、进程创建int pthread_create (pthread_t * thread_id, __const pthread_attr_t * __attr, void *(*__start_routine) (void *), void *__restrict __arg);第一个参数为指向线...
分类:编程语言   时间:2014-09-05 17:42:41    阅读次数:208
创建存储过程和触发器
创建存储过程和触发器   1、建表 首先先建两张表(users表和number表),具体设计如下图:   2、存储过程 写一个存储过程,往users表中插入数据,创建过程如下:     代码如下: [sql] view plaincopy BEGIN      #Routine body goes here...      declare n ...
分类:其他好文   时间:2014-08-26 17:32:14    阅读次数:151
关于习惯
习惯形成有三个组成部分:cue、routine、reward。形成习惯需要遵循一定规则,打破习惯也需要遵循一定规则(破坏掉某个组成部分)。左脑只能处理一个事:mind;你是谁,过去、未来 管理右脑 并行、瞬间:此时此刻 leadship教育的目的是让孩子快乐地成为合格公民。美国人没有望子成龙的观念,...
分类:其他好文   时间:2014-08-25 11:47:24    阅读次数:202
212条   上一页 1 ... 17 18 19 20 21 22 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!