<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>WindCoder网</title><description>专注web前端与java程序开发，与web和Java开发爱好者分享素材与案例</description><link>https://windcoder.com/</link><language>zh-CN</language><atom:link href="https://windcoder.com/rss.xml" rel="self" type="application/rss+xml"/><item><title>闲聊 Java 源码中的线程创建</title><link>https://windcoder.com/posts/xianliao-java-yuanmazhongdexianchengchuangjian/</link><guid isPermaLink="true">https://windcoder.com/posts/xianliao-java-yuanmazhongdexianchengchuangjian/</guid><description>在上文《闲聊 Java 线程生命周期》 中我们看到 Thread.start() 最终调用 start0 ，另一方面我们也知道 start() 最终调用的是 run() 方法执行的，具体调用过程肯定</description><pubDate>Wed, 13 Dec 2023 00:00:00 GMT</pubDate></item><item><title>闲聊 Java 线程生命周期</title><link>https://windcoder.com/posts/xianliaojava-xianchengshengmingzhouqi/</link><guid isPermaLink="true">https://windcoder.com/posts/xianliaojava-xianchengshengmingzhouqi/</guid><description>在之前《闲话进程的生命周期》 部分我们看了操作系统中理论上的生命周期，在这一节我们对应着看一下 Java 的线程周期。在 Java 中线程有如下几个状态：public enum State {  N</description><pubDate>Tue, 05 Dec 2023 00:00:00 GMT</pubDate></item><item><title>闲聊 Java 线程创建</title><link>https://windcoder.com/posts/xianliaojava-xianchengchuangjian/</link><guid isPermaLink="true">https://windcoder.com/posts/xianliaojava-xianchengchuangjian/</guid><description>Green Thread 早已被废弃，我们不再讨论，本篇基于 OpenJava21 从线程创建开始看下 Java 中的线程。在 Java 中创建线程的方式有多种，但线程执行都需要通过调用 Threa</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>闲聊 Java 线程的发展</title><link>https://windcoder.com/posts/xianliaojavaxianchengdefazhan/</link><guid isPermaLink="true">https://windcoder.com/posts/xianliaojavaxianchengdefazhan/</guid><description>Java 线程的东西比较多，我们以 openJDK21 为基础环境分篇章来说，本篇只是一个开篇，之后预计会细分线程篇、线程池篇和虚拟线程篇。1 Green ThreadGreen Thread 是一</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-闲话进程的生命周期</title><link>https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuajinchengdeshengmingzhouqi/</link><guid isPermaLink="true">https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuajinchengdeshengmingzhouqi/</guid><description>全都写到重学java中有点大，后期分专题不太容易，所以打算细分出来看看效果。上文 说到进程是动态的，自然就会有开始-结束的生命周期。这里以 汤子瀛版《计算机操作系统(慕课版)》为主线串联记录一下，方</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-闲话线程模型1</title><link>https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuaxianchengmoxing1/</link><guid isPermaLink="true">https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuaxianchengmoxing1/</guid><description>聊Java线程以及Golang协程前，我们先通过聊线程模型明确一些概念性的东西。1 用户模式与内核模式1.1 理论在计算机中，我们想运行自己的程序都必须先保证操作系统是正常且自己的程序能在上面运行。</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-闲话线程模型2</title><link>https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuaxianchengmoxing2/</link><guid isPermaLink="true">https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianhuaxianchengmoxing2/</guid><description>1 线程模型目前的操作系统不再仅实现用户线程或者内核线程，而是通过组合的方式实现。由于链接方式的不同，所以形成了3种不同的多线程模型：多对一、一对一和多对多。讨论线程模型还有一个前提是讨论的是同一个</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-闲聊 Golang 协程</title><link>https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianliao-golang-xiecheng/</link><guid isPermaLink="true">https://windcoder.com/posts/xinmayoujiangcaozuoxitong-xianliao-golang-xiecheng/</guid><description>本篇主要介绍 Go 的 GM 与 GMP 模型相关内容。1 GM 模型在12年的go1.1版本之前用的都是GM模型。1.1 Go1 的调度源码下面是 Go 1  版本中暂停一个 Goroutine</description><pubDate>Thu, 30 Nov 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-进程/线程产生背景</title><link>https://windcoder.com/posts/chongxinjava-jincheng-xianchengchanshengbeijing/</link><guid isPermaLink="true">https://windcoder.com/posts/chongxinjava-jincheng-xianchengchanshengbeijing/</guid><description>操作系统本身是在计算机硬件上的第一层软件，是对硬件系统的首次扩充，主要用来管理计算机中的硬件设备，提高它们的利用率和吞吐量，同时为用户和应用程序提供接口，充当用户以及应用程序和计算机硬件之间的桥梁，</description><pubDate>Thu, 19 Oct 2023 00:00:00 GMT</pubDate></item><item><title>大文件分片上传Java版简单实现</title><link>https://windcoder.com/posts/dawenjianfenpianshangchuanjavabanjiandanshixian/</link><guid isPermaLink="true">https://windcoder.com/posts/dawenjianfenpianshangchuanjavabanjiandanshixian/</guid><description>本文用于整理记录大文件分片上传、断点续传、极速秒传的Java版简单实现。关于上传的文章FTP文件上传下载 1. 分片上传分片上传的核心思路：1.将文件按一定的分割规则（静态或动态设定，如手动设置20</description><pubDate>Tue, 26 Sep 2023 00:00:00 GMT</pubDate></item><item><title>使用 Kubeadm 安装基于 containerd 的 Kubernetes 集群</title><link>https://windcoder.com/posts/shiyong-kubeadm-anzhuangjiyu-containerd-de-kubernetes-jiqun/</link><guid isPermaLink="true">https://windcoder.com/posts/shiyong-kubeadm-anzhuangjiyu-containerd-de-kubernetes-jiqun/</guid><description>本次直接使用了 containerd 作为运行时，且为一主二从，与之前《使用 Kubeadm 安装 Kubernetes 集群》 中使用docker作为运行时的Master单节点部署稍微有些不同。1</description><pubDate>Sun, 26 Mar 2023 00:00:00 GMT</pubDate></item><item><title>信马由缰操作系统-程序与进程</title><link>https://windcoder.com/posts/chongxinjava-chengxuyujincheng/</link><guid isPermaLink="true">https://windcoder.com/posts/chongxinjava-chengxuyujincheng/</guid><description>在上一篇《重新Java-进程/线程产生背景》 中我们简述了下面思维导图中程序中的进程发展史，本篇我们将介绍剩余的程序部分以及进程的数据结构等基础知识。程序的生命周期将留到下篇介绍。1. 程序1.1</description><pubDate>Wed, 12 Oct 2022 00:00:00 GMT</pubDate></item><item><title>重学Java-分布式事务实现方案</title><link>https://windcoder.com/posts/zhongxuejava-fenbushishiwushixianfangan/</link><guid isPermaLink="true">https://windcoder.com/posts/zhongxuejava-fenbushishiwushixianfangan/</guid><description>1. XA 规范XA (也常称为 X/Open AX, 是 eXtended Architecture 的缩写) 是  X/Open （后来合并为  The Open Group ）于  1991</description><pubDate>Mon, 25 Jul 2022 00:00:00 GMT</pubDate></item><item><title>重学Java-分布式事务基础</title><link>https://windcoder.com/posts/zhongxuejava-fenbushishiwujichu/</link><guid isPermaLink="true">https://windcoder.com/posts/zhongxuejava-fenbushishiwujichu/</guid><description>重学Java-分布式事务基础1. CAP定理CAP定理(CAP theorem)又称为布鲁尔定理(Brewer’s theorem)，最开始是埃里克·布鲁尔(Eric Brewer) 在 2000年</description><pubDate>Thu, 21 Jul 2022 00:00:00 GMT</pubDate></item><item><title>重学Java-本地事务</title><link>https://windcoder.com/posts/zhongxuejava-bendishiwu/</link><guid isPermaLink="true">https://windcoder.com/posts/zhongxuejava-bendishiwu/</guid><description>这是事务部分的第一篇，预计从本地事务到分布式事务逐步递进的方式进行整理。同时这个系列默认大家对本地事务已经比较熟悉，所以内容相对会少一些，重点放在分布式事务部分。1. 本地事务基础这里主要说一下事务</description><pubDate>Sun, 03 Jul 2022 00:00:00 GMT</pubDate></item><item><title>重学Java-String对象</title><link>https://windcoder.com/posts/zhongxuejava-stringduixiang/</link><guid isPermaLink="true">https://windcoder.com/posts/zhongxuejava-stringduixiang/</guid><description>前言随着看的东西多了，越想把相关的知识点能串起来，所以有了这个重学系列，今后不定期更新。String对象已经不是第一次写，在之前关于 String 的文章中也涉及过。随着时间的增长，再回头看之前的部</description><pubDate>Mon, 20 Jun 2022 00:00:00 GMT</pubDate></item><item><title>rc.local.service 找不到</title><link>https://windcoder.com/posts/rc-local-service-zhaobudao/</link><guid isPermaLink="true">https://windcoder.com/posts/rc-local-service-zhaobudao/</guid><description>根据 【Linux关闭swap 】 编写 开机脚本 /etc/rc.local 后，执行 sudo systemctl enable rc-local 时提示如下异常：Failed to resta</description><pubDate>Sun, 13 Feb 2022 00:00:00 GMT</pubDate></item><item><title>protobuf安装与环境配置</title><link>https://windcoder.com/posts/protobufanzhuangyuhuanjingpeizhi/</link><guid isPermaLink="true">https://windcoder.com/posts/protobufanzhuangyuhuanjingpeizhi/</guid><description>本文记录的是用于GoLang项目的protobuf相关安装与环境配置，由于踩了些坑，所以记录一下。GoLang版本：1.17.6 linux/amd64操作系统：Linux Mint 20.3 Ci</description><pubDate>Mon, 24 Jan 2022 00:00:00 GMT</pubDate></item><item><title>网络通信模型简记</title><link>https://windcoder.com/posts/wangluotongxinmoxingjianji/</link><guid isPermaLink="true">https://windcoder.com/posts/wangluotongxinmoxingjianji/</guid><description>关于网络协议分层，网上有很多文章整理了，但有时看到一层命名有多种，故同时想找一下比较权威的具体出处。这里仅是作为自己学习的一个记录整理。关于分层模型的命名，同一功能的层级可能存在多种名称。看了多篇之</description><pubDate>Thu, 13 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Go常用设计模式简记-创建型模式</title><link>https://windcoder.com/posts/gochangyongshejimoshijianji-chuangjianxingmoshi/</link><guid isPermaLink="true">https://windcoder.com/posts/gochangyongshejimoshijianji-chuangjianxingmoshi/</guid><description>创建型模式（Creational Patterns） 提供了一种在创建对象的同时隐藏创建逻辑的方式，而不是使用 new 运算符直接实例化对象单例模式（Singleton Pattern）常用场景：全</description><pubDate>Mon, 03 Jan 2022 00:00:00 GMT</pubDate></item></channel></rss>