René's URL Explorer Experiment


Title: JavaGuide/docs/java/concurrent/reentrantlock.md at main · Coder994/JavaGuide · GitHub

Open Graph Title: JavaGuide/docs/java/concurrent/reentrantlock.md at main · Coder994/JavaGuide

X Title: JavaGuide/docs/java/concurrent/reentrantlock.md at main · Coder994/JavaGuide

Description: 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - JavaGuide/docs/java/concurrent/reentrantlock.md at main · Coder994/JavaGuide

Open Graph Description: 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - Coder994/JavaGuide

X Description: 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - Coder994/JavaGuide

Opengraph URL: https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:33b33125-4fc4-da12-8eb8-7a693051692a
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id99AC:34F7A0:4B3FD:5F583:6A53D3E7
html-safe-nonce16f4097532614c010111432611b12278916e24c28ec8e389535adbb3f6e8dcf8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUFDOjM0RjdBMDo0QjNGRDo1RjU4Mzo2QTUzRDNFNyIsInZpc2l0b3JfaWQiOiI3OTMwMzI4MDg5Mjg4MjMzOTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac81e7f14571d5ba8d70492d9d51d7e42eba1ce9c30c26564ff6df80f74f95b548
hovercard-subject-tagrepository:605856392
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md
twitter:imagehttps://opengraph.githubassets.com/1fdc34944b9daf1a16076fcc485c9084f82953a149c5fffb15571f1ae9ce87be/Coder994/JavaGuide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1fdc34944b9daf1a16076fcc485c9084f82953a149c5fffb15571f1ae9ce87be/Coder994/JavaGuide
og:image:alt「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - Coder994/JavaGuide
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/Coder994/JavaGuide git https://github.com/Coder994/JavaGuide.git
octolytics-dimension-user_id24579686
octolytics-dimension-user_loginCoder994
octolytics-dimension-repository_id605856392
octolytics-dimension-repository_nwoCoder994/JavaGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id132464395
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide
octolytics-dimension-repository_network_root_id132464395
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCoder994%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fconcurrent%2Freentrantlock.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCoder994%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fconcurrent%2Freentrantlock.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=Coder994%2FJavaGuide
Reloadhttps://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md
Reloadhttps://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md
Reloadhttps://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md
Coder994 https://github.com/Coder994
JavaGuidehttps://github.com/Coder994/JavaGuide
Snailclimb/JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FCoder994%2FJavaGuide
Fork 0 https://github.com/login?return_to=%2FCoder994%2FJavaGuide
Star 0 https://github.com/login?return_to=%2FCoder994%2FJavaGuide
Code https://github.com/Coder994/JavaGuide
Pull requests 0 https://github.com/Coder994/JavaGuide/pulls
Actions https://github.com/Coder994/JavaGuide/actions
Projects https://github.com/Coder994/JavaGuide/projects
Security and quality 0 https://github.com/Coder994/JavaGuide/security
Insights https://github.com/Coder994/JavaGuide/pulse
Code https://github.com/Coder994/JavaGuide
Pull requests https://github.com/Coder994/JavaGuide/pulls
Actions https://github.com/Coder994/JavaGuide/actions
Projects https://github.com/Coder994/JavaGuide/projects
Security and quality https://github.com/Coder994/JavaGuide/security
Insights https://github.com/Coder994/JavaGuide/pulse
https://github.com/Coder994/JavaGuide
JavaGuidehttps://github.com/Coder994/JavaGuide/tree/main
docshttps://github.com/Coder994/JavaGuide/tree/main/docs
javahttps://github.com/Coder994/JavaGuide/tree/main/docs/java
concurrenthttps://github.com/Coder994/JavaGuide/tree/main/docs/java/concurrent
Historyhttps://github.com/Coder994/JavaGuide/commits/main/docs/java/concurrent/reentrantlock.md
https://github.com/Coder994/JavaGuide/commits/main/docs/java/concurrent/reentrantlock.md
JavaGuidehttps://github.com/Coder994/JavaGuide/tree/main
docshttps://github.com/Coder994/JavaGuide/tree/main/docs
javahttps://github.com/Coder994/JavaGuide/tree/main/docs/java
concurrenthttps://github.com/Coder994/JavaGuide/tree/main/docs/java/concurrent
Rawhttps://github.com/Coder994/JavaGuide/raw/refs/heads/main/docs/java/concurrent/reentrantlock.md
https://tech.meituan.com/2019/12/05/aqs-theory-and-apply.htmlhttps://tech.meituan.com/2019/12/05/aqs-theory-and-apply.html
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#1-reentrantlock
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#11-reentrantlock-特性概览
https://camo.githubusercontent.com/cc59f79672944c1b6378c5eab483b7d47318ddb6d6399cf8520b8a358afea129/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f34313264323934666635353335626263646463306439373962326133333965363130323236342e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#12-reentrantlock-与-aqs-的关联
不可不说的 Java“锁”事https://mp.weixin.qq.com/s?__biz=MjM5NjQ5MTI5OA==&mid=2651749434&idx=3&sn=5ffa63ad47fe166f2f1a9f604ed10091&chksm=bd12a5778a652c61509d9e718ab086ff27ad8768586ea9b38c3dcf9e017a8e49bcae3df9bcc8&scene=38#wechat_redirect
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#2-aqs
https://camo.githubusercontent.com/65e9f79e7b5eaafea1ae1c115798bb3ac7ae888b069f085d06639249b4fbbd20/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f38323037376363663134313237613837623737636566643163636635363264333235333539312e706e67
https://camo.githubusercontent.com/b38c492953baa6096e51ea267ec9267d3737925abfa48d3d6047b9ed95da9996/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f643266376637666666646333306438356431376234343236366333616230353332333333382e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#21-原理概览
https://camo.githubusercontent.com/1ee16abd366b2bbffe7e95e685197ac4e872cd74dcd4dfa3e5a990e6d886cfdf/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f373133326534636566343463323666363238333562313937623233393134376231383036322e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#211-aqs-数据结构
https://camo.githubusercontent.com/90fecf8dec76d17625ecc8da42e983706721904d23d7ea653bff270f06b63ab0/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f393630323731636632623563386131383565656432336539386237326337353533383633372e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#212-同步状态-state
https://camo.githubusercontent.com/8d77434921a9e33e269a7aa05ababa3528f624395e03c2af12589634c6897d6e/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f323736303564343833653839333564613638336139336265303135373133663333313337382e706e67
https://camo.githubusercontent.com/2638f7d3a590265b31e97bb6f4e2ad5a6b31c60a09565e7b96aba687150cb03b/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f336631653161343466356237643737303030626134663934373631383962326533323830362e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#22-aqs-重要方法与-reentrantlock-的关联
https://camo.githubusercontent.com/822d18f99f0f61afd3e5710c786509fcebc3986864960c9285562ecbf6cad19c/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f623862353361373039383436363862633638363533656665393533313537336537383633362e706e67
issue#1761https://github.com/Snailclimb/JavaGuide/issues/1761
https://camo.githubusercontent.com/4325bb7b382d3873425d022d7c8e327a245afadcfcf64d78a912bff69372fe4c/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f376161646232373230363964383731626465653862663361323138656564383133363931392e706e67
https://camo.githubusercontent.com/81312a0e4b50e05ba9cceb47778f7cc76900ec047ca13ad2c853fd2efaab84a1/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f663330633633316338656262663832306433653866636236656565336330656631383734382e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#3-通过-reentrantlock-理解-aqs
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#31-线程加入等待队列
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#311-加入队列的时机
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#312-如何加入队列
https://camo.githubusercontent.com/642cf72b107ff32b9756d5ebfcfbcdeeb73b963eaa2aeb4883bc491d4e07e4ba/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f653965333835633363363866363263363763386436326162306164623631333932313131372e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#313-等待队列中线程出队列时机
https://camo.githubusercontent.com/e04b8e09e0776ec3a263037826eda369c3c1fed18f65a7bd45807fe3b8ef33d8/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f633132346237366463626566623962646337373834353830363437303364313133353438352e706e67
https://camo.githubusercontent.com/a439f4d498672f5d35b75789a5e5daa41b0a77cde3359322a13ea445bbeb2bfd/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f396166313665323438316164383566333863613332326132323561653733373533353734302e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#32-cancelled-状态节点生成
https://camo.githubusercontent.com/5390c736a20e59147b9a744c343f2c3cbb4bc96d147875e335c0ec393be32763/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f623834353231316365643537353631633234663739643536313934393439653832323034392e706e67
https://camo.githubusercontent.com/51a862e9cc0bb77df8514ace6c7dbce1cc9a604236fb408bb6322a0782768550/68747470733a2f2f70312e6d65697475616e2e6e65742f74726176656c637562652f616238396266656338373538343665353032386134663866656164333262373131373937352e706e67
https://camo.githubusercontent.com/370c682b5db0529b21cd4e54b80f3dfcef1549156716e06845962dd8dde0b2c9/68747470733a2f2f70302e6d65697475616e2e6e65742f74726176656c637562652f343564306439653461363839376564646164633433393763663533643663643532323435322e706e67
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#33-如何解锁
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#34-中断恢复后的执行流程
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#35-小结
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#4-aqs-应用
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#41-reentrantlock-的可重入应用
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#42-juc-中的应用场景
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#43-自定义同步工具
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#5-总结
https://github.com/Coder994/JavaGuide/blob/main/docs/java/concurrent/reentrantlock.md#参考资料
不可不说的 Java“锁”事https://tech.meituan.com/2018/11/15/java-lock.html
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.