Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 1998 14:58:11 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        current@FreeBSD.ORG
Subject:   small locking patch for discussion
Message-ID:  <Pine.BSF.3.95.980704145503.10069F-200000@current1.whistle.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1966150496-899589491=:10069
Content-Type: TEXT/PLAIN; charset=US-ASCII

I have this litle patch sitting around.


I don't know if it does anything but could someone who
knows about the locking comment?

It was a "BTW" from terry and I'd like to either
commit it or throw it away, rather than have it 
sitting there looking at me.. 

julian


--0-1966150496-899589491=:10069
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=quotadiff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.3.95.980704145811.10069G@current1.whistle.com>
Content-Description: 

SW5kZXg6IHVmcy91ZnMvdWZzX3F1b3RhLmMNCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT0NClJDUyBmaWxlOiAvaG9tZS9uY3ZzL3NyYy9zeXMvdWZzL3Vmcy91
ZnNfcXVvdGEuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMjMNCmRpZmYg
LWMgLXIxLjIzIHVmc19xdW90YS5jDQoqKiogdWZzX3F1b3RhLmMJMTk5OC8w
Ni8yMSAxNDo1Mzo0MAkxLjIzDQotLS0gdWZzX3F1b3RhLmMJMTk5OC8wNy8w
NCAyMDozOToxNg0KKioqKioqKioqKioqKioqDQoqKiogNDY1LDQ3OCAqKioq
DQogIAkvKg0KICAJICogU2VhcmNoIHZub2RlcyBhc3NvY2lhdGVkIHdpdGgg
dGhpcyBtb3VudCBwb2ludCwNCiAgCSAqIGRlbGV0aW5nIGFueSByZWZlcmVu
Y2VzIHRvIHF1b3RhIGZpbGUgYmVp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bW50dm5vZGVzLmxlX25leHQ7DQogIAkJaWYgKHZwLT52
X3R5cGUgPT0gVk5PTikNCiAgCQkJY29udGludWU7DQohIAkJc2ltcGxlX2xv
Y2soJnZwLT52X2ludGVybG9jayk7DQohIAkJc2ltcGxlX3VubG9jaygmbW50
dm5vZGVfc2xvY2spOw0KISAJCWlmICh2Z2V0KHZwLCBMS19FWENMVVNJVkUg
fCBMS19JTlRFUkxPQ0ssIHApKSB7DQogIAkJCWdvdG8gYWdhaW47DQorIAkJ
fQ0KICAJCWlwID0gVlRPSSh2cCk7DQogIAkJZHEgPSBpcC0+aV9kcXVvdFt0
eXBlXTsNCiAgCQlpcC0+aV9kcXVvdFt0eXBlXSA9IE5PRFFVT1Q7DQoqKioq
KioqKioqKioqKioNCioqKiA0ODAsNDg1ICoqKioNCi0tLSA0OTEsNDk3IC0t
LS0NCiAgCQl2cHV0KHZwKTsNCiAgCQlpZiAodnAtPnZfbW50dm5vZGVzLmxl
X25leHQgIT0gbmV4dHZwIHx8IHZwLT52X21vdW50ICE9IG1wKQ0KICAJCQln
b3RvIGFnYWluOw0KKyAJCXNpbXBsZV9sb2NrKCZtbnR2bm9kZV9zbG9jayk7
DQogIAl9DQogIAlkcWZsdXNoKHF2cCk7DQogIAlxdnAtPnZfZmxhZyAmPSB+
VlNZU1RFTTsNCg==
--0-1966150496-899589491=:10069--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980704145503.10069F-200000>