Сделать домашней|Добавить в избранное
 
 
baltic_kurs » Материалы за Декабрь 2009 года
Сортировать статьи по: дате | популярности | посещаемости | комментариям | алфавиту

Gambit-C

Автор: Robertrorn от 17-12-2009, 17:38
Gambit-C

; an implementation of a mailbox object of depth one; this ; implementation does not behave well in the presence of forced ; thread terminations using thread-terminate! (deadlock can occur ; if a thread is terminated in the middle of a put! or get! operation) (define (make-empty-mailbox) (let ((put-mutex (make-mutex)) ; allow put! operation (get-mutex (make-mutex)) (cell #f)) (define (put! obj) (mutex-lock! put-mutex #f #f) ; prevent put! operation (set! cell obj) (mutex-unlock! get-mutex)) ; allow get! operation (define (get! ) (mutex-lock! get-mutex #f #f) ; wait until object in mailbox (let ((result cell)) (se...

501(c)(3)

Автор: rrikbys от 14-12-2009, 21:05
501(c)(3)

Donations to 501c3 organizations are tax-exempt under section 501(c)3 of the U. S. Tax code, "unlike donations to political and lobbying organizations.

" ( see also 501c3 "charities don't have to report their contributors to the, the or any federal agency. " "By law, charities must only conduct nonpartisan voter activities to keep their tax-exempt status. But the law also allows charities to register and mobilize likely Democratic or Republican voters. " In exchange for being able to accept tax-deductible donations, the IRS demands that 501(c)(3)'s refrain from "activities which constitute participation or intervention in a political campaign on behalf of or in opposition to a candidate.

" This includes "the publication o...