码迷,mamicode.com
首页 >  
搜索关键字:rt thread    ( 14779个结果)
POJ 2887 Big String 线段树 离线处理
一开始看的时候没什么思路,后来一看卧槽不是简单的离线处理么。反着插入一遍然后直接查询就好了。#include #include #include using namespace std;#define lson rt > 1; build(lson); build(rson); ...
分类:其他好文   时间:2014-09-04 18:32:29    阅读次数:186
PYTHON线程知识再研习B
使用threading.Thread模块,也有两种使用方法,可以用类,也可以在实例化对象中传入函数或类实例。#!/usr/bin/env python# -*- coding: utf-8 -*-from threading import Threadimport timedef run_threa...
分类:编程语言   时间:2014-09-04 13:15:39    阅读次数:200
C++11 thread::join(4)
原文地址:http://www.cplusplus.com/reference/thread/thread/join/ public member function std::thread::join void join(); Join thread The function returns when the thread execution ha...
分类:编程语言   时间:2014-09-04 11:50:40    阅读次数:217
【跟我一起学Python吧】Python 多线程
其实自我感觉Python的多线程很类似于Java的多线程机制,但是比JAVA的多线程更灵活。在早期的Python多线程实现中,采用了thread模块。例如:Python代码fromtimeimportctime,sleepfromthreadimportstart_new_threaddefloop...
分类:编程语言   时间:2014-09-04 09:32:07    阅读次数:296
Chromium on Android: Chromium线程局部存储系统
线程局部存储(ThreadLocalStorage),简称TLS,提供了一种存储线程私有数据的方式,每个线程的私有数据对其他线程均不可见。Chromium是一个多进程多线程架构的浏览器,运行时会创建多达30几个线程,其中很多线程需要拥有自己私有数据,在TLS数量有限的系统上,例如Android4.3或更..
分类:移动开发   时间:2014-09-04 03:04:08    阅读次数:1067
C++11 thread::detach(2)
原文地址:http://www.cplusplus.com/reference/thread/thread/detach/ public member function std::thread::detach void detach(); Detach thread Detaches the thread represented by the object f...
分类:编程语言   时间:2014-09-04 00:15:17    阅读次数:279
熟悉RT-Thread的软硬件环境【RT-Thread学习笔记 1】
RT-Thread学习笔记第一篇,熟悉RT-Thread的软硬件环境
分类:其他好文   时间:2014-09-04 00:10:07    阅读次数:246
linux 线程回顾
额,时隔两年重新写博客了。这次看一下thread_cond_wait(pthread_cond_t * cond, pthread_mutex_t *mutex)和thread_cond_signal(pthread_cond_t *cond);理解了这两个函数以后,同时对于java中Object的...
分类:编程语言   时间:2014-09-04 00:04:07    阅读次数:270
RT-Thread的线程(任务)处理【RT-Thread学习笔记 2】
RT-Thread中线程相关API实验,动态线程 静态线程 等
分类:编程语言   时间:2014-09-04 00:03:35    阅读次数:314
C++11 thread(1)
原文地址: public member function std::thread::thread default (1) thread() noexcept; initialization (2) template explicit thread (Fn&& fn, Args&&... args); c...
分类:编程语言   时间:2014-09-03 22:44:07    阅读次数:435
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!