码迷,mamicode.com
首页 >  
搜索关键字:threads    ( 782个结果
用GDB调试多线程程序
一直对GDB多线程调试接触不多,最近因为工作有了一些接触,简单作点记录吧。 先介绍一下GDB多线程调试的基本命令。 info threads 显示当前可调试的所有线程,每个线程会有一个GDB为其分配的ID,后面操作线程的时候会用到这个ID。 前面有*的是当前调试的线程。 thread ID 切换当前调试的线程为指定ID的线程。 break thread_test.c:123...
分类:数据库   时间:2015-01-21 16:35:31    阅读次数:194
GetMessage()和PeekMessage()区别
GetMessage()原型:BOOL GetMessage(LPMSG lpMsg, HWND hWNd, UINT wMsgFilterMin, UINT wMsgFilterMax);Retrieves a message from the calling threads queque. Th...
分类:其他好文   时间:2015-01-21 14:42:22    阅读次数:115
我在实习的英文表达
想表达“我正在XXX公司实习中”I'm doing an internship at XXX.I'm an intern at XXX.ref:http://www.usingenglish.com/forum/threads/157504-taking-vs-doing-an-internship...
分类:其他好文   时间:2015-01-17 11:09:17    阅读次数:225
[转]Java并发的四种风味:Thread、Executor、ForkJoin和Actor
这篇文章讨论了Java应用中并行处理的多种方法。从自己管理Java线程,到各种更好几的解决方法,Executor服务、ForkJoin 框架以及计算中的Actor模型。Java并发编程的4种风格:Threads,Executors,ForkJoin和Actors我们生活在一个事情并行发生的世界。自然...
分类:编程语言   时间:2015-01-15 10:36:35    阅读次数:289
linux 进程的最大线程个数
1. 可以通过下面的方法查到: cat /proc/sys/kernel/threads-max 15882 另外,一个进程实际的线程个数,可以从 /proc/{PID}/status里得出: /proc/544#cat status Name: kpsmoused State: S (sleeping) Tgid: 544 Pid: 544 PPid: 2 TracerPid: 0...
分类:编程语言   时间:2015-01-15 07:05:38    阅读次数:266
Andorid之Process and Threads
一:AsyncTask(框架) An asynchronous task is defined by a computation that runs on a background thread and whose result is published on the UI thread. An a...
分类:其他好文   时间:2015-01-14 22:38:41    阅读次数:320
Threads vs. Tasks
Posted on Friday, October 11, 2013 .Net has three low-level mechanisms to run code in parallel: Thread, ThreadPool, and Task. These three mechanism se...
分类:其他好文   时间:2015-01-13 19:35:59    阅读次数:154
Android学习系列(43)--使用事件总线框架EventBus和Otto
事件总线框架针对事件提供统一订阅,发布以达到组件间通信的解决方案。原理观察者模式。EventBus和Otto先看EventBus的官方定义:Android optimized event bus that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better...
分类:移动开发   时间:2015-01-12 14:46:03    阅读次数:258
Linux下查看进程和线程
在linux中查看线程数的三种方法 1、top -H 手册中说:-H : Threads toggle 加上这个选项启动top,top一行显示一个线程。否则,它一行显示一个进程。 2、ps xH 手册中说:H Show threads as if they were processes 这样可以查看所有存在的线程。 3、ps -mp 手册中说:m ...
分类:编程语言   时间:2015-01-07 14:59:23    阅读次数:116
concurrencyProgrammingGuide 1
thread用来表述执行代码的独立path。os x的线程执行基于POSIX 线程API.process用来表述一个运行操作,可以包含多个线程。task用来描述工作的抽象概念。Concurrency and Application Design不是依赖threads,os x和ios使用的是asyn...
分类:其他好文   时间:2015-01-05 16:20:23    阅读次数:173
782条   上一页 1 ... 64 65 66 67 68 ... 79 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!