摘要: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit 阅读全文
posted @ 2018-03-16 19:00 Zzz...y 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 一、什么是进程:进程是并发程序的一次执行过程,是并发程序在一个数据集合上的执行过程,是系统进行资源分配和调度的一个独立单位。 二、进程的特征: 1、动态性:进程的实质是程序的一次执行过程,因此,动态性是进程最重要的特性。进程由操作系统建立与撤消,具有一定的生命周期。它由“创建”而产生,由“调度”而执 阅读全文
posted @ 2018-03-16 14:42 Zzz...y 阅读(192) 评论(0) 推荐(0) 编辑