##译序
本文翻译 Daniel Morsing 的博文 The Go scheduler,个人觉得这篇文章把Go Routine和调度器的知识讲的浅显易懂,作为一篇介绍性的文章,很不错。...
分类:
编程语言 时间:
2015-07-08 19:09:25
阅读次数:
168
MYSQL中创建存储过程和函数分别使用CREATE PROCEDURE和CREATE FUNCTION
使用CALL语句来调用存储过程,存储过程也可以调用其他存储过程
函数可以从语句外调用,能返回标量值
创建存储过程
语法
CREATE PROCEDURE sp_name ([ proc_parameter ]) [ characteristics..] routine_body...
分类:
数据库 时间:
2015-06-24 00:47:34
阅读次数:
205
#include // The type of a pointer into the init table.typedef void const * table_ptr_t;// The type of an initialization routine. It takes a pointer to...
分类:
其他好文 时间:
2015-06-22 19:15:50
阅读次数:
2029
这是SAP的一个Bug,FM方式ALV Grid和Class ALV Grid都会出现,但是ALV List好像没有这个BUG。
在以下几个条件满足的时候就会出现这个问题:
1.字段对应的域Convers. routine = ALPHA,也就是有前导零的字段,比如供应商号、商品号、客户号等。
2.做ALV Fieldcat的时候,没有指定参考表和参考字段。
3.列的表头文本(seltext_s等)比实际显示的数据短。
所以解决问题的时候从2、3两点下手即可。...
分类:
其他好文 时间:
2015-06-17 11:42:36
阅读次数:
576
主要的多线程API1、 线程创建函数:int pthread_create (pthread_t * thread_id, __const pthread_attr_t * __attr,void *(*__start_routine) (void *),void *__restrict __arg...
分类:
编程语言 时间:
2015-06-15 14:28:56
阅读次数:
120
1、错误描述
16:27:36 call new_procedure(20150112,1)
Error Code: 1414. OUT or INOUT argument 2 for routine company.new_procedure is not a variable or NEW pseudo-variable in BEFORE trigger0.063 sec
2、错误原因...
分类:
其他好文 时间:
2015-06-10 17:25:29
阅读次数:
368
linux下线程
线程与进程的关系:
之前转载的微信文章,进程与线程的区别已经说得比较清楚了,可以查看之前转载的文章,linux进程与线程的区别。
创建一个线程:
#include
int pthread_creat(pthread_t * thread,pthread_attr_t * attr,void *(*stat_routine)(void *),...
分类:
编程语言 时间:
2015-06-05 10:15:55
阅读次数:
184
BEGIN #Routine body goes here... DECLARE vec_title VARCHAR(50) DEFAULT ""; DECLARE vec_content VARCHAR(2000) DEFAULT ""; DECLARE int_attac...
分类:
其他好文 时间:
2015-05-26 23:05:20
阅读次数:
154
入口函数,即驱动加载函数NTSTATUSDriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath )/*++Routine Description: Installable dri...
分类:
其他好文 时间:
2015-05-22 11:10:31
阅读次数:
341
linux应用开发-线程
一 线程操作函数
注意事项:
头文件:#include
编译注意: 链接库 -lpthread
1 创建线程
int pthread_create(pthread_t *thread, const pthread_attr, void *(*start_routine)(void *0, void *arg))
2 退出线程
void...
分类:
编程语言 时间:
2015-05-19 13:08:32
阅读次数:
190