上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 103 下一页
摘要: Architecture The foundation layer of Darwin and OS X is composed of several architectural components, as shown in Figure 3-3. Taken together, these co 阅读全文
posted @ 2017-12-04 18:58 zzfx 阅读(377) 评论(0) 推荐(0)
摘要: http://my.oschina.net/chenliang165/blog/125825. 最近同事的程序设计过程中用到了Linux的signal机制,从而引发了我对Linux中signal机制的思考。Signal机制在Linux中是一个非常常用的进程间通信机制,很多人在使用的时候不会考虑该机制 阅读全文
posted @ 2017-12-04 18:32 zzfx 阅读(1765) 评论(0) 推荐(0)
摘要: 调试器工作原理(3):调试信息 本文是调试器工作原理探究系列的第三篇,在阅读前请先确保已经读过本系列的第一和第二篇。 本篇主要内容 在本文中我将向大家解释关于调试器是如何在机器码中寻找C函数以及变量的,以及调试器使用了何种数据能够在C源代码的行号和机器码中来回映射。 调试信息 现代的编译器在转换高级 阅读全文
posted @ 2017-12-04 11:58 zzfx 阅读(2331) 评论(0) 推荐(0)
摘要: 一、绝对布局、layoutsubviews。 二、父视图相对布局 注意:Autoresizing只能设置父子视图之间的关系,也就是说,Autoresizing只能控制子视图和父视图之间的位置/大小关系。Autoresizing不能设置兄弟视图之间的关系,当然也不能设置完全不相关的两个视图之间的关系。 阅读全文
posted @ 2017-11-30 18:59 zzfx 阅读(282) 评论(0) 推荐(0)
摘要: The Runtime Interaction Model for Views Any time a user interacts with your user interface, or any time your own code programmatically changes somethi 阅读全文
posted @ 2017-11-30 18:19 zzfx 阅读(313) 评论(0) 推荐(0)
摘要: margin与padding如何进行区分,这是很多学html人的困扰,其实说白了padding 就是内容与边框的空隙。而margin则是模块与模块的空隙。[3] 阅读全文
posted @ 2017-11-30 14:55 zzfx 阅读(335) 评论(0) 推荐(0)
摘要: A regular expression, regex or regexp[1] (sometimes called a rational expression)[2][3] is, in theoretical computer science and formal language theory 阅读全文
posted @ 2017-11-28 19:10 zzfx 阅读(303) 评论(0) 推荐(0)
摘要: 1)操作非法、操作受限; 2)数据非法、数据不支持; 3)操作的上下文环境被破坏。 阅读全文
posted @ 2017-11-24 17:41 zzfx 阅读(987) 评论(0) 推荐(0)
摘要: In computing, a context switch is the process of storing and restoring the state (more specifically, the execution context) of a process or thread so 阅读全文
posted @ 2017-11-24 17:07 zzfx 阅读(182) 评论(0) 推荐(0)
摘要: 1)线程存在的目的:提高cpu的使用效率; 2)线程实现模型:用户线程、内核线程; 3)线程谁在持有:内核维护线程列表、进程维护线程列表、应用维护线程池; 4)线程的数据结构属性:tcb结构、线程属性结构等; 5)线程的运行时:调度与切换; 6)线程的业务与数据侧面:本质上是数据处理流; 7)线程的 阅读全文
posted @ 2017-11-24 16:56 zzfx 阅读(153) 评论(0) 推荐(0)
摘要: 作者:阿波链接:http://blog.csdn.net/livelylittlefish/article/details/7918110 (整半年没有更新,发几篇以前的读书笔记。) Content 1. 基础概念 2. 线程安全 3. 可重入 4. 并发系统基本功能 1. 基础概念 线程 进程里执 阅读全文
posted @ 2017-11-24 16:27 zzfx 阅读(241) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/gatieme/article/details/51892437 之前讲解过内核线程、轻量级进程、用户线程三种线程概念解惑(线程≠轻量级进程), 但是一直对其中提到的线程的实现模型比较迷惑, 这次就花了点时间怎么学习了一下子 1 线程的3种实现方式 在传统的 阅读全文
posted @ 2017-11-24 15:45 zzfx 阅读(5555) 评论(2) 推荐(2)
摘要: 结论:线程崩溃不一定导致进程崩溃。 线程崩溃的本质就是内存出错。而内存出错有时不会引起其他线程出错的,因为崩溃的线程,也就是出错的内存有时侯没有被其他线程访问,也就不会产生问题,但有时候会打乱其他线程的内存。 https://bbs.csdn.net/topics/330102295 阅读全文
posted @ 2017-11-23 16:47 zzfx 阅读(3265) 评论(0) 推荐(1)
摘要: 符号表将标识符和其类型、位置关联起来,当我们去处理变量,函数的声明时,就是将这些信息组织(绑定)起来,放在表里,当需 要知道这些函数,变量的意义时,就去这个表里查。 重定位。链接器把每个符号定义与一个虚拟地址联系起来,然后修改所有对这些符号的引用,使得它们指向这个存储位置,从而重定位这些节。 一般来 阅读全文
posted @ 2017-11-23 16:42 zzfx 阅读(1078) 评论(0) 推荐(0)
摘要: PS:EBP是当前函数的存取指针,即存储或者读取数时的指针基地址;ESP就是当前函数的栈顶指针。每一次发生函数的调用(主函数调用子函数)时,在被调用函数初始时,都会把当前函数(主函数)的EBP压栈,以便从子函数返回到主函数时可以获取EBP。 下面是按调用约定__stdcall 调用函数test(in 阅读全文
posted @ 2017-11-23 16:10 zzfx 阅读(563) 评论(0) 推荐(0)
摘要: The stack frame at the top of the stack is for the currently executing routine. The stack frame usually includes at least the following items (in push 阅读全文
posted @ 2017-11-23 15:55 zzfx 阅读(187) 评论(0) 推荐(0)
摘要: https://en.wikipedia.org/wiki/Call_stack#STACK-FRAME In computer science, a call stack is a stack data structure that stores information about the act 阅读全文
posted @ 2017-11-23 15:51 zzfx 阅读(393) 评论(0) 推荐(0)
摘要: http://en.citizendium.org/wiki/Stack_frame In computer science, a stack frame is a memory management strategy used to create and destroy temporary (au 阅读全文
posted @ 2017-11-23 15:44 zzfx 阅读(281) 评论(0) 推荐(0)
摘要: http://en.citizendium.org/wiki/Stack_frame To use a stack frame, a thread keeps two pointers, often called the Stack Pointer (SP), and the Frame (FP) 阅读全文
posted @ 2017-11-23 15:42 zzfx 阅读(705) 评论(0) 推荐(0)
摘要: In computer science, a symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier (a.k.a. 阅读全文
posted @ 2017-11-22 19:03 zzfx 阅读(382) 评论(0) 推荐(0)
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 103 下一页