* refactoring: split src/ into mu/ and lib/

This commit is contained in:
djcb
2012-05-20 17:41:18 +03:00
parent 605657d4de
commit 46f10cfde9
143 changed files with 160 additions and 279 deletions

View File

@ -0,0 +1,42 @@
Path: uutiset.elisa.fi!feeder2.news.elisa.fi!feeder.erje.net!newsfeed.kamp.net!newsfeed0.kamp.net!nx02.iad01.newshosting.com!newshosting.com!post01.iad!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: jimbo@lews (Jimbo Foobarcuux)
From: jimbo@slp53.sl.home (Jimbo Foobarcuux)
Reply-To: slp53@pacbell.net
Subject: Re: Are writes "atomic" to readers of the file?
Newsgroups: comp.unix.programmer
References: <e9065dac-13c1-4103-9e31-6974ca232a89@t15g2000prt.googlegroups.com> <87hbblwelr.fsf@sapphire.mobileactivedefense.com> <pql248-4va.ln1@wilbur.25thandClement.com> <ikns6r$li3$1@Iltempo.Update.UU.SE> <8762s0jreh.fsf@sapphire.mobileactivedefense.com> <ikqqp1$jv0$1@Iltempo.Update.UU.SE> <87hbbjc5jt.fsf@sapphire.mobileactivedefense.com> <ikr0na$lru$1@Iltempo.Update.UU.SE> <tO8cp.1228$GE6.370@news.usenetserver.com> <ikr6ks$nlf$1@Iltempo.Update.UU.SE> <8ioh48-8mu.ln1@leafnode-msgid.gclare.org.uk>
Organization: UseNetServer - www.usenetserver.com
X-Complaints-To: abuse@usenetserver.com
Message-ID: <oktdp.42997$Te.22361@news.usenetserver.com>
Date: 08 Mar 2011 17:04:20 GMT
Lines: 27
Xref: uutiset.elisa.fi comp.unix.programmer:181736
John Denver <jd@clare.See-My-Signature.invalid> writes:
>Eric the Red wrote:
>
>>> There _IS_ a requirement that all reads and writes to regular files
>>> be atomic. There is also an ordering guarantee. Any implementation
>>> that doesn't provide both atomicity and ordering guarantees is broken.
>>
>> But where is it specified?
>
>The place where it is stated most explicitly is in XSH7 2.9.7
>Thread Interactions with Regular File Operations:
>
> All of the following functions shall be atomic with respect to each
> other in the effects specified in POSIX.1-2008 when they operate on
> regular files or symbolic links:
>
> [List of functions that includes read() and write()]
>
> If two threads each call one of these functions, each call shall
> either see all of the specified effects of the other call, or none
> of them.
>
And, for the purposes of this paragraph, the two threads need not be
part of the same process.
jimbo

View File

@ -0,0 +1,37 @@
Date: Thu, 31 Jul 2008 14:57:25 -0400
From: "John Milton" <jm@example.com>
Subject: Fere libenter homines id quod volunt credunt
To: "Julius Caesar" <jc@example.com>
Message-id: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com>
MIME-version: 1.0
x-label: Paradise, losT
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: high
OF Mans First Disobedience, and the Fruit
Of that Forbidden Tree, whose mortal tast
Brought Death into the World, and all our woe,
With loss of Eden, till one greater Man
Restore us, and regain the blissful Seat, [ 5 ]
Sing Heav'nly Muse,that on the secret top
Of Oreb, or of Sinai, didst inspire
That Shepherd, who first taught the chosen Seed,
In the Beginning how the Heav'ns and Earth
Rose out of Chaos: Or if Sion Hill [ 10 ]
Delight thee more, and Siloa's Brook that flow'd
Fast by the Oracle of God; I thence
Invoke thy aid to my adventrous Song,
That with no middle flight intends to soar
Above th' Aonian Mount, while it pursues [ 15 ]
Things unattempted yet in Prose or Rhime.
And chiefly Thou O Spirit, that dost prefer
Before all Temples th' upright heart and pure,
Instruct me, for Thou know'st; Thou from the first
Wast present, and with mighty wings outspread [ 20 ]
Dove-like satst brooding on the vast Abyss
And mad'st it pregnant: What in me is dark
Illumin, what is low raise and support;
That to the highth of this great Argument
I may assert Eternal Providence, [ 25 ]
And justifie the wayes of God to men.

View File

@ -0,0 +1,13 @@
Date: Thu, 31 Jul 2008 14:57:25 -0400
From: "Socrates" <soc@example.com>
Subject: cool stuff
To: "Alcibiades" <alki@example.com>
Message-id: <3BE9E6535E0D852173@emss35m06.us.lmco.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: high
The hour of departure has arrived, and we go our ways—I to die, and you to
live. Which is better God only knows.

View File

@ -0,0 +1,34 @@
From: Napoleon Bonaparte <nb@example.com>
To: Edmond =?UTF-8?B?RGFudMOocw==?= <ed@example.com>
Subject: rock on dude
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)
Fcc: .sent
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Le 24 février 1815, la vigie de Notre-Dame de la Garde signala le trois-mâts
le Pharaon, venant de Smyrne, Trieste et Naples.
Comme d'habitude, un pilote côtier partit aussitôt du port, rasa le château
d'If, et alla aborder le navire entre le cap de Morgion et l'île de Rion.
Aussitôt, comme d'habitude encore, la plate-forme du fort Saint-Jean s'était
couverte de curieux; car c'est toujours une grande affaire à Marseille que
l'arrivée d'un bâtiment, surtout quand ce bâtiment, comme le Pharaon, a été
construit, gréé, arrimé sur les chantiers de la vieille Phocée, et appartient
à un armateur de la ville.
Cependant ce bâtiment s'avançait; il avait heureusement franchi le détroit que
quelque secousse volcanique a creusé entre l'île de Calasareigne et l'île de
Jaros; il avait doublé Pomègue, et il s'avançait sous ses trois huniers, son
grand foc et sa brigantine, mais si lentement et d'une allure si triste, que
les curieux, avec cet instinct qui pressent un malheur, se demandaient quel
accident pouvait être arrivé à bord. Néanmoins les experts en navigation
reconnaissaient que si un accident était arrivé, ce ne pouvait être au
bâtiment lui-même; car il s'avançait dans toutes les conditions d'un navire
parfaitement gouverné: son ancre était en mouillage, ses haubans de beaupré
décrochés; et près du pilote, qui s'apprêtait à diriger le Pharaon par
l'étroite entrée du port de Marseille, était un jeune homme au geste rapide et
à l'œil actif, qui surveillait chaque mouvement du navire et répétait chaque
ordre du pilote.

View File

@ -0,0 +1,28 @@
Return-Path: <foo@example.com>
Delivered-To: foo@example.com
Received: from [128.88.204.56] by freemailng0304.web.de with HTTP;
Mon, 07 May 2005 00:27:52 +0200
Date: Mon, 07 May 2005 00:27:52 +0200
Message-Id: <293847329847@web.de>
MIME-Version: 1.0
From: =?iso-8859-1?Q? "=F6tzi" ?= <oetzi@web.de>
To: foo@example.com
Subject: =?iso-8859-1?Q?Re:=20der=20b=E4r=20und=20das=20m=E4dchen?=
Precedence: fm-user
Organization: http://freemail.web.de/
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mailhost6.ladot.com id j48MScQ30791
X-UIDL: 93h!!\i<!!L)l!!%_I!!
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mindcrime
X-Spam-Level:
X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00 autolearn=ham
version=3.0.2
Viele liebe Gruesse aus der Stadt der St<53>dte..
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

View File

@ -0,0 +1,7 @@
Date: Mon, 13 Jun 2011 14:57:25 -0400
From: xyz@123.xx
Subject: abc
To: foo@bar.cx
Message-id: <abc@def>
123

View File

@ -0,0 +1,18 @@
Date: Thu, 31 Jul 2008 14:57:25 -0400
From: "Geoff Tate" <jeff@example.com>
Subject: eyes of a stranger
To: "Enrico Fermi" <enrico@example.com>
Message-id: <3BE9E6535E302944823E7A1A20D852173@msg.id>
MIME-version: 1.0
X-label: @NextActions, operation:mindcrime, Queensrÿche
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: high
And I raise my head and stare
Into the eyes of a stranger
I've always known that the mirror never lies
People always turn away
From the eyes of a stranger
Afraid to know what
Lies behind the stare

View File

View File